@ThreadSafe public final class Spool0 extends AbstractCollection<Hold> implements Spool
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Hold hold)
Does nothing and returns true.
|
static Spool0 |
i()
The single instance of Spool0.
|
boolean |
isUnwinding()
Returns false.
|
Iterator<Hold> |
iterator() |
int |
size()
Returns zero.
|
boolean |
unwind()
Does nothing and returns false.
|
boolean |
unwind(Catcher<Hold> catcher)
Does nothing and returns false.
|
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCodepublic Iterator<Hold> iterator()
iterator in interface Iterable<Hold>iterator in interface Collection<Hold>iterator in class AbstractCollection<Hold>public int size()
size in interface Collection<Hold>size in class AbstractCollection<Hold>public boolean add(Hold hold)
add in interface Collection<Hold>add in interface Spooladd in class AbstractCollection<Hold>public boolean isUnwinding()
isUnwinding in interface Spoolpublic boolean unwind()