Class ExpressionList<T extends Expression>
java.lang.Object
com.strobel.expressions.ExpressionList<T>
- All Implemented Interfaces:
Iterable<T>, RandomAccess
- Direct Known Subclasses:
BlockExpressionList, ParameterExpressionList
public class ExpressionList<T extends Expression>
extends Object
implements Iterable<T>, RandomAccess
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAll(int index, ExpressionList<T> c) final ExpressionList<T> addAll(ExpressionList<T> c) final ExpressionList<T> booleanstatic <T extends Expression>
ExpressionList<T> empty()get(int index) getRange(int fromIndex, int toIndex) intbooleanisEmpty()iterator()iterator(int index) intlastIndexOf(T expression) protected ExpressionList<T> newInstance(T[] expressions) remove(int index) removeAll(ExpressionList<? extends T> c) final ExpressionList<T> retainAll(ExpressionList<? extends T> c) final ExpressionList<T> intsize()T[]toArray()<T> T[]toArray(T[] a) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
EMPTY
-
_expressions
-
-
Constructor Details
-
ExpressionList
-
-
Method Details
-
empty
-
newInstance
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
- Specified by:
iteratorin interfaceIterable<T extends Expression>
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
addAll
-
addAll
-
addAll
-
addAll
-
removeAll
-
removeAll
-
retainAll
-
retainAll
-
get
-
replace
-
add
-
remove
-
indexOf
-
lastIndexOf
-
getRange
-