public abstract class MultiCondition<E extends TitanElement> extends ArrayList<Condition<E>> implements Condition<E>
And
,
Or
,
Serialized FormCondition.Type
modCount
Modifier and Type | Method and Description |
---|---|
boolean |
add(Condition<E> condition) |
boolean |
equals(Object other) |
Condition<E> |
get(int position) |
Iterable<Condition<E>> |
getChildren() |
boolean |
hasChildren() |
int |
hashCode() |
int |
numChildren() |
int |
size() |
String |
toString() |
String |
toString(String token) |
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray, trimToSize
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
evaluate, getType
containsAll
parallelStream, stream
public boolean add(Condition<E> condition)
add
in interface Collection<Condition<E extends TitanElement>>
add
in interface List<Condition<E extends TitanElement>>
add
in class ArrayList<Condition<E extends TitanElement>>
public int size()
size
in interface Collection<Condition<E extends TitanElement>>
size
in interface List<Condition<E extends TitanElement>>
size
in class ArrayList<Condition<E extends TitanElement>>
public Condition<E> get(int position)
get
in interface List<Condition<E extends TitanElement>>
get
in class ArrayList<Condition<E extends TitanElement>>
public boolean hasChildren()
hasChildren
in interface Condition<E extends TitanElement>
public int numChildren()
numChildren
in interface Condition<E extends TitanElement>
public Iterable<Condition<E>> getChildren()
getChildren
in interface Condition<E extends TitanElement>
public int hashCode()
hashCode
in interface Condition<E extends TitanElement>
hashCode
in interface Collection<Condition<E extends TitanElement>>
hashCode
in interface List<Condition<E extends TitanElement>>
hashCode
in class AbstractList<Condition<E extends TitanElement>>
public boolean equals(Object other)
equals
in interface Condition<E extends TitanElement>
equals
in interface Collection<Condition<E extends TitanElement>>
equals
in interface List<Condition<E extends TitanElement>>
equals
in class AbstractList<Condition<E extends TitanElement>>
public String toString()
toString
in interface Condition<E extends TitanElement>
toString
in class AbstractCollection<Condition<E extends TitanElement>>
Copyright © 2012–2015. All rights reserved.