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:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.List<E>
,java.util.RandomAccess
- Enclosing class:
- Functions
private static class Functions.GeneratingList<E> extends java.util.AbstractList<E> implements java.util.RandomAccess
List that generates each element using a function.
-
-
Constructor Summary
Constructors Constructor Description GeneratingList(int size, Function1<java.lang.Integer,E> fn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description E
get(int index)
int
size()
-
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 class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
-