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:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.List<T>
,java.util.RandomAccess
,Expressions.FluentList<T>
- Enclosing class:
- Expressions
private static class Expressions.FluentArrayList<T> extends java.util.ArrayList<T> implements Expressions.FluentList<T>
Fluent array list.
-
-
Constructor Summary
Constructors Constructor Description FluentArrayList()
FluentArrayList(java.util.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(java.lang.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.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Constructor Detail
-
FluentArrayList
FluentArrayList()
-
FluentArrayList
FluentArrayList(java.util.Collection<? extends T> c)
-
-
Method Detail
-
append
public Expressions.FluentList<T> append(T t)
- Specified by:
append
in interfaceExpressions.FluentList<T>
-
appendIf
public Expressions.FluentList<T> appendIf(boolean condition, T t)
- Specified by:
appendIf
in interfaceExpressions.FluentList<T>
-
appendIfNotNull
public Expressions.FluentList<T> appendIfNotNull(T t)
- Specified by:
appendIfNotNull
in interfaceExpressions.FluentList<T>
-
appendAll
public Expressions.FluentList<T> appendAll(java.lang.Iterable<T> ts)
- Specified by:
appendAll
in interfaceExpressions.FluentList<T>
-
appendAll
public Expressions.FluentList<T> appendAll(T... ts)
- Specified by:
appendAll
in interfaceExpressions.FluentList<T>
-
-