E - Type of the Enumerable items to rememberpublic class MemoryEnumerable<E> extends AbstractEnumerable<MemoryFactory.Memory<E>>
| Modifier and Type | Field and Description |
|---|---|
private int |
future |
private int |
history |
private Enumerable<E> |
input |
| Constructor and Description |
|---|
MemoryEnumerable(Enumerable<E> input,
int history,
int future)
Creates a MemoryEnumerable.
|
| Modifier and Type | Method and Description |
|---|---|
Enumerator<MemoryFactory.Memory<E>> |
enumerator()
Returns an enumerator that iterates through a collection.
|
iteratoraggregate, aggregate, aggregate, all, any, any, asEnumerable, asOrderedQueryable, asQueryable, average, average, average, average, average, average, average, average, average, average, cast, concat, contains, contains, correlateJoin, count, count, createOrderedEnumerable, defaultIfEmpty, defaultIfEmpty, distinct, distinct, elementAt, elementAtOrDefault, except, except, first, first, firstOrDefault, firstOrDefault, foreach, getThis, getThisOrdered, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupJoin, groupJoin, hashJoin, hashJoin, hashJoin, hashJoin, intersect, intersect, into, last, last, lastOrDefault, lastOrDefault, longCount, longCount, max, max, max, max, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, min, min, min, min, ofType, orderBy, orderBy, orderByDescending, orderByDescending, removeAll, reverse, select, select, selectMany, selectMany, selectMany, selectMany, sequenceEqual, sequenceEqual, single, single, singleOrDefault, singleOrDefault, skip, skipWhile, skipWhile, sum, sum, sum, sum, sum, sum, sum, sum, sum, sum, take, takeWhile, takeWhile, thenBy, thenBy, thenByDescending, thenByDescending, toList, toLookup, toLookup, toLookup, toLookup, toMap, toMap, toMap, toMap, union, union, where, where, zipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprivate final Enumerable<E> input
private final int history
private final int future
MemoryEnumerable(Enumerable<E> input, int history, int future)
input - The Enumerable which the memory should be "wrapped" aroundhistory - Number of present steps to rememberfuture - Number of future steps to rememberpublic Enumerator<MemoryFactory.Memory<E>> enumerator()
RawEnumerableCopyright © 2012–2021 The Apache Software Foundation. All rights reserved.