static enum CyclicArrayList.StateIter extends Enum<CyclicArrayList.StateIter>
| Enum Constant and Description |
|---|
CALLED_ADD
The condition
calledLast == CALLED_ADD means
that among the methods
CyclicIterator.next(), CyclicIterator.previous(),
CyclicIterator.add(E) and CyclicIterator.remove()
the method CyclicIterator.add(E)
was the last successfully invoked
since this iterator was created or refreshed. |
CALLED_NEXT
The condition
calledLast == CALLED_NEXT means
that among the methods
CyclicIterator.next(), CyclicIterator.previous(),
CyclicIterator.add(E) and CyclicIterator.remove()
the method CyclicIterator.next()
was the last successfully invoked
since this iterator was created or refreshed. |
CALLED_NOTHING
The condition
calledLast == CALLED_NOTHING means
that neither of the methods
CyclicIterator.next(), CyclicIterator.previous(),
CyclicIterator.add(E) and CyclicIterator.remove()
was ever successfully invoked
since this iterator was created or refreshed. |
CALLED_PREVIOUS
The condition
calledLast == CALLED_PREVIOUS means
that among the methods
CyclicIterator.next(), CyclicIterator.previous(),
CyclicIterator.add(E) and CyclicIterator.remove()
the method CyclicIterator.previous()
was the last successfully invoked
since this iterator was created or refreshed. |
CALLED_REMOVE
The condition
calledLast == CALLED_REMOVE means
that among the methods
CyclicIterator.next(), CyclicIterator.previous(),
CyclicIterator.add(E) and CyclicIterator.remove()
the method CyclicIterator.previous() was the last invoked
since this iterator was created or refreshed. |
| Modifier and Type | Method and Description |
|---|---|
static CyclicArrayList.StateIter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CyclicArrayList.StateIter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CyclicArrayList.StateIter CALLED_NOTHING
calledLast == CALLED_NOTHING means
that neither of the methods
CyclicIterator.next(), CyclicIterator.previous(),
CyclicIterator.add(E) and CyclicIterator.remove()
was ever successfully invoked
since this iterator was created or refreshed.CyclicIterator.refresh()public static final CyclicArrayList.StateIter CALLED_PREVIOUS
calledLast == CALLED_PREVIOUS means
that among the methods
CyclicIterator.next(), CyclicIterator.previous(),
CyclicIterator.add(E) and CyclicIterator.remove()
the method CyclicIterator.previous()
was the last successfully invoked
since this iterator was created or refreshed.public static final CyclicArrayList.StateIter CALLED_NEXT
calledLast == CALLED_NEXT means
that among the methods
CyclicIterator.next(), CyclicIterator.previous(),
CyclicIterator.add(E) and CyclicIterator.remove()
the method CyclicIterator.next()
was the last successfully invoked
since this iterator was created or refreshed.public static final CyclicArrayList.StateIter CALLED_ADD
calledLast == CALLED_ADD means
that among the methods
CyclicIterator.next(), CyclicIterator.previous(),
CyclicIterator.add(E) and CyclicIterator.remove()
the method CyclicIterator.add(E)
was the last successfully invoked
since this iterator was created or refreshed.public static final CyclicArrayList.StateIter CALLED_REMOVE
calledLast == CALLED_REMOVE means
that among the methods
CyclicIterator.next(), CyclicIterator.previous(),
CyclicIterator.add(E) and CyclicIterator.remove()
the method CyclicIterator.previous() was the last invoked
since this iterator was created or refreshed.public static CyclicArrayList.StateIter[] values()
for (CyclicArrayList.StateIter c : CyclicArrayList.StateIter.values()) System.out.println(c);
public static CyclicArrayList.StateIter valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2012–2018 Simuline Organization (l2r). All rights reserved.