Package org.apache.calcite.linq4j.tree
Class Expressions.FluentArrayList<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<T>
-
- org.apache.calcite.linq4j.tree.Expressions.FluentArrayList<T>
-
- Type Parameters:
T- element type
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<T>,Collection<T>,List<T>,RandomAccess,Expressions.FluentList<T>
- Enclosing class:
- Expressions
private static class Expressions.FluentArrayList<T> extends ArrayList<T> implements Expressions.FluentList<T>
Fluent array list.
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description FluentArrayList()FluentArrayList(Collection<? extends T> c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expressions.FluentList<T>append(T t)Expressions.FluentList<T>appendAll(Iterable<T> ts)Expressions.FluentList<T>appendAll(T... ts)Expressions.FluentList<T>appendIf(boolean condition, T t)Expressions.FluentList<T>appendIfNotNull(T t)-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.util.AbstractList
equals, hashCode
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, of, of, of, of, of, of, of, of, of, of, of, of, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Constructor Detail
-
FluentArrayList
FluentArrayList()
-
FluentArrayList
FluentArrayList(Collection<? extends T> c)
-
-
Method Detail
-
append
public Expressions.FluentList<T> append(T t)
- Specified by:
appendin interfaceExpressions.FluentList<T>
-
appendIf
public Expressions.FluentList<T> appendIf(boolean condition, T t)
- Specified by:
appendIfin interfaceExpressions.FluentList<T>
-
appendIfNotNull
public Expressions.FluentList<T> appendIfNotNull(T t)
- Specified by:
appendIfNotNullin interfaceExpressions.FluentList<T>
-
appendAll
public Expressions.FluentList<T> appendAll(Iterable<T> ts)
- Specified by:
appendAllin interfaceExpressions.FluentList<T>
-
appendAll
public Expressions.FluentList<T> appendAll(T... ts)
- Specified by:
appendAllin interfaceExpressions.FluentList<T>
-
-