public interface PropertyArrayBoolean
PropertyAtomBoolean
.Modifier and Type | Method and Description |
---|---|
int |
add(boolean value)
Creates a
PropertyAtomBoolean with the given value and appends it to the end of the array |
void |
add(int index,
boolean value)
Creates a
PropertyAtomBoolean with the given value and inserts it at the specified position
in the array. |
PropertyAtomBoolean |
removePropertyAtom(boolean value)
Removes the first occurrence of
PropertyAtomBoolean in this array which has the given value,
and returns it. |
void |
set(int index,
boolean value)
Sets the
PropertyAtomBoolean at index the given index to the given value. |
int add(boolean value)
PropertyAtomBoolean
with the given value and appends it to the end of the arrayvalue
- of the PropertyAtomBoolean
to create.void add(int index, boolean value)
PropertyAtomBoolean
with the given value and inserts it at the specified position
in the array.
Shifts the PropertyAtomBoolean
currently at that position (if any)
and any subsequent PropertyAtomBoolean
to the right (i.e. adds one to their indices).index
- at which the specified PropertyAtomBoolean
is to be inserted.value
- of the PropertyAtomBoolean
to be inserted.java.lang.IndexOutOfBoundsException
- if index is invalid.void set(int index, boolean value)
PropertyAtomBoolean
at index the given index to the given value.
If index == length
, this method will call add(index, value)
instead.index
- at which the specified value is to be set.value
- to set.java.lang.IndexOutOfBoundsException
- if the index is invalid.PropertyAtomBoolean removePropertyAtom(boolean value)
PropertyAtomBoolean
in this array which has the given value,
and returns it.
This method shifts all the subsequent array elements to the left (i.e. substracts one to their indices).
It returns null if no PropertyAtomBoolean
is found.value
- to search for.PropertyAtomBoolean
.