@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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode
public 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 Spool
add
in class AbstractCollection<Hold>
public boolean isUnwinding()
isUnwinding
in interface Spool
public boolean unwind()