public class ConstMFBool extends ConstMField
Constructor and Description |
---|
ConstMFBool(boolean[] values)
Construct a read-only MFBool field.
|
ConstMFBool(int size,
boolean[] values)
Construct a read-only MFBool field.
|
Modifier and Type | Method and Description |
---|---|
boolean |
get1Value(int index)
Retrieve a particular element from an MFBool field.
|
int |
getSize()
Number of elements contained in the MField.
|
void |
getValue(boolean[] values)
Retrieves the complete list of booleans making up an MFBool field.
|
clone
public ConstMFBool(int size, boolean[] values)
size
- Number of booleans to initialize object with.values
- List of booleans to initialize object with.public ConstMFBool(boolean[] values)
values
- List of booleans to initialize object with.public int getSize()
ConstMField
getSize
in class ConstMField
public void getValue(boolean[] values)
values
- Array to put resulting list of booleans in.public boolean get1Value(int index)
index
- Position of desired element.