|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<Hold>
Spool0
@ThreadSafe public class Spool0
Null implementation of a spool; it is always empty and never unwinds.
| Field Summary |
|---|
| Fields inherited from interface Spool |
|---|
catcher0 |
| Constructor Summary | |
|---|---|
Spool0()
|
|
| Method Summary | |
|---|---|
boolean |
add(Hold hold)
Does nothing. |
static Spool0 |
i()
A common instance of Spool0. |
boolean |
isUnwinding()
Returns true if the spool is unwinding (or unwound). |
Iterator<Hold> |
iterator()
|
int |
size()
|
boolean |
unwind()
Does nothing. |
boolean |
unwind(Catcher<Hold> catcher)
Does nothing. |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray |
| Constructor Detail |
|---|
public Spool0()
| Method Detail |
|---|
public static Spool0 i()
public boolean add(Hold hold)
add in interface Collection<Hold>add in interface Spooladd in class AbstractCollection<Hold>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 isUnwinding()
Spool
isUnwinding in interface Spoolpublic boolean unwind()
unwind in interface Spoolpublic boolean unwind(Catcher<Hold> catcher)
unwind in interface Spoolcatcher - for any errors or exceptions that occur
during unwinding
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||