Class Functions.GeneratingList<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- org.apache.calcite.linq4j.function.Functions.GeneratingList<E>
-
- Type Parameters:
E- element type
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>,RandomAccess
- Enclosing class:
- Functions
private static class Functions.GeneratingList<E> extends AbstractList<E> implements RandomAccess
List that generates each element using a function.
-
-
Constructor Summary
Constructors Constructor Description GeneratingList(int size, Function1<Integer,E> fn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Eget(int index)intsize()-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
-