Located in compilation unit of io.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> Tuple2 |
| duplicate | back to summary |
|---|---|
| public static <T> Tuple2 Creates two new iterators that both iterates over the same elements as this iterator and in the same order. The duplicate iterators are considered equal if they are positioned at the same element. Given that most methods on iterators will make the original iterator unfit for further use, this methods provides a reliable way of calling multiple such methods on an iterator. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final Lazy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static boolean | |
| pack-priv static BigDecimal |
| INFINITY_DISTANCE | back to summary |
|---|---|
private static final Lazy<BigDecimal> INFINITY_DISTANCE
| |
| BigDecimalHelper | back to summary |
|---|---|
| public BigDecimalHelper() | |
| areEqual | back to summary |
|---|---|
| pack-priv static boolean areEqual(BigDecimal from, BigDecimal toExclusive) | |
| asDecimal | back to summary |
|---|---|
pack-priv static BigDecimal asDecimal(double number)
| |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private T | |
| private final Iterator |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public T | |
| public boolean | |
| pack-priv T |
| cached | back to summary |
|---|---|
| private boolean cached | |
| next | back to summary |
|---|---|
| private T next | |
| that | back to summary |
|---|---|
| private final Iterator<T> that | |
| CachedIterator | back to summary |
|---|---|
| pack-priv CachedIterator(Iterator<T> that) | |
| getNext | back to summary |
|---|---|
| public T getNext() Implements abstract io.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| touch | back to summary |
|---|---|
| pack-priv T touch() | |
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private Iterator | |
| private boolean | |
| private IteratorModule. | |
| private IteratorModule. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public Iterator | |
| public T | |
| public boolean |
| curr | back to summary |
|---|---|
| private Iterator<T> curr | |
| hasNextCalculated | back to summary |
|---|---|
| private boolean hasNextCalculated | |
| last | back to summary |
|---|---|
| private IteratorModule. | |
| tail | back to summary |
|---|---|
| private IteratorModule. | |
| ConcatIterator | back to summary |
|---|---|
| public ConcatIterator() | |
| append | back to summary |
|---|---|
| pack-priv void append(Iterator<? extends T> that) | |
| concat | back to summary |
|---|---|
| public Iterator Overrides default io.
| |
| getNext | back to summary |
|---|---|
| public T getNext() Implements abstract io.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Iterator | |
| pack-priv IteratorModule. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv IteratorModule. | |
| pack-priv static <T> IteratorModule. |
| it | back to summary |
|---|---|
| pack-priv Iterator<T> it | |
| next | back to summary |
|---|---|
| pack-priv IteratorModule. | |
| Cell | back to summary |
|---|---|
| private Cell() | |
| append | back to summary |
|---|---|
| pack-priv IteratorModule. | |
| of | back to summary |
|---|---|
| pack-priv static <T> IteratorModule. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Function | |
| private Set | |
| private T | |
| private boolean | |
| private final Iterator |
| Access | Constructor and Description |
|---|---|
| pack-priv | DistinctIterator(Iterator<? extends T> that, Set<U> set, Function<? super T, ? extends U> keyExtractor)
|
| Modifier and Type | Method and Description |
|---|---|
| public T | |
| public boolean | |
| private boolean |
| keyExtractor | back to summary |
|---|---|
| private final Function<? super T, ? extends U> keyExtractor | |
| known | back to summary |
|---|---|
| private Set<U> known | |
| next | back to summary |
|---|---|
| private T next | |
| nextDefined | back to summary |
|---|---|
| private boolean nextDefined | |
| that | back to summary |
|---|---|
| private final Iterator<? extends T> that | |
| DistinctIterator | back to summary |
|---|---|
| pack-priv DistinctIterator(Iterator<? extends T> that, Set<U> set, Function<? super T, ? extends U> keyExtractor) | |
| getNext | back to summary |
|---|---|
| public T getNext() Implements abstract io.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| searchNext | back to summary |
|---|---|
| private boolean searchNext() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final IteratorModule. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Object | |
| public String | stringPrefix()
Overrides default io. Returns the name of this Value type, which is used by toString(). |
| public String | toString()
Overrides java. Implements io. Clarifies that values have a proper toString() method implemented. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final IteratorModule. | |
| EmptyIterator | back to summary |
|---|---|
| public EmptyIterator() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public Object next() Implements java. Doc from java. Returns the next element in the iteration. | |
| stringPrefix | back to summary |
|---|---|
| public String stringPrefix() Overrides default io. Doc from io. Returns the name of this Value type, which is used by toString(). | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements io. Doc from io. Clarifies that values have a proper toString() method implemented. See Object.toString(). | |
| Modifier and Type | Field and Description |
|---|---|
| private Object[] | |
| private final int | |
| private final int | |
| private final int | |
| private final int | |
| private final Iterator |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public boolean | |
| public Seq | |
| private static Object[] |
| buffer | back to summary |
|---|---|
| private Object[] buffer | |
| gap | back to summary |
|---|---|
| private final int gap | |
| preserve | back to summary |
|---|---|
| private final int preserve | |
| size | back to summary |
|---|---|
| private final int size | |
| step | back to summary |
|---|---|
| private final int step | |
| that | back to summary |
|---|---|
| private final Iterator<T> that | |
| GroupedIterator | back to summary |
|---|---|
| pack-priv GroupedIterator(Iterator<T> that, int size, int step) | |
| drop | back to summary |
|---|---|
| private static void drop(Iterator<?> source, int count) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public Seq Implements java. Doc from java. Returns the next element in the iteration. | |
| take | back to summary |
|---|---|
| private static Object[] take(Iterator<?> source, Object[] target, int offset, int count) | |