| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| public static interface | |
| public static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> Iterator | |
| public static <T> Iterator | |
| public static <T> Iterator | |
| public static Iterator | |
| public static <T> Iterators. | dupFilter()
Create a new filter F that, when wrapped around another iterator I, creates a new iterator I' that will return only those values of I that have not yet been returned by I', discarding duplicates. |
| public static <A, B> Iterator | |
| public static <T> Iterator | |
| public static <A> Iterator | |
| public static <T> Iterator |
| Iterators | back to summary |
|---|---|
| private Iterators() Private constructor, nobody should ever make one of these | |
| append | back to summary |
|---|---|
| public static <T> Iterator creates an iterator I based on base iterators A and B. Returns the elements returned by A followed by those returned by B. If B is empty, simply returns A, and if A is empty, simply returns B. Do NOT USE if b.hasNext() is not idempotent. | |
| append1 | back to summary |
|---|---|
| public static <T> Iterator creates an iterator I based on base iterators A and B. Returns the elements returned by A followed by those returned by B. If A is empty, simply returns B. Guaranteed not to call B.hasNext() until A is empty. | |
| array | back to summary |
|---|---|
| public static <T> Iterator Creates an iterator that will return the elements of a specified array, in order. Like Arrays.asList(o).iterator(), without all that pesky safety. | |
| array | back to summary |
|---|---|
| public static Iterator | |
| dupFilter | back to summary |
|---|---|
| public static <T> Iterators. Create a new filter F that, when wrapped around another iterator I, creates a new iterator I' that will return only those values of I that have not yet been returned by I', discarding duplicates. | |
| mapOver | back to summary |
|---|---|
| public static <A, B> Iterator creates an iterator I based on a base iterator A and a getter G. I returns, in order, forall (i in A), G(i). | |
| one | back to summary |
|---|---|
| public static <T> Iterator creates an iterator I based on an object O. Returns O, once. | |
| recur | back to summary |
|---|---|
| public static <A> Iterator creates an iterator I based on a base iterator A and a getter G. I returns, in order, forall (i in I) i :: forall (i' in g(i)) recur(i', g) | |
| snoc | back to summary |
|---|---|
| public static <T> Iterator creates an iterator I based on a base iterator A and an object O. Returns the elements returned by A, followed by O. | |
| filter | back to summary |
|---|---|
| public Iterator | |
| get | back to summary |
|---|---|
| public Iterator | |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private ResolvedType[] | |
| private int | |
| private int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| private void | |
| public ResolvedType | |
| public void | remove()
Overrides default java. |
| alreadySeen | back to summary |
|---|---|
| private List<String> alreadySeen | |
| array | back to summary |
|---|---|
| private ResolvedType[] array | |
| index | back to summary |
|---|---|
| private int index | |
| len | back to summary |
|---|---|
| private int len | |
| wantGenerics | back to summary |
|---|---|
| private boolean wantGenerics | |
| ResolvedTypeArrayIterator | back to summary |
|---|---|
| public ResolvedTypeArrayIterator(ResolvedType[] array, List<String> alreadySeen, boolean wantGenerics) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| moveToNextNewOne | back to summary |
|---|---|
| private void moveToNextNewOne() | |
| next | back to summary |
|---|---|
| public ResolvedType next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the | |