|
JTP API Documentation | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractSet
|
+--jtp.util.DevNullCollection
a collection that is always empty; objects that are being added to it just get dropped.
| Field Summary | |
static DevNullCollection |
instance
|
| Method Summary | |
boolean |
add(Object o)
this version does nothing. |
Iterator |
iterator()
|
int |
size()
|
| Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
| Methods inherited from class java.util.AbstractCollection |
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray |
| Field Detail |
public static final DevNullCollection instance
| Method Detail |
public Iterator iterator()
iterator in interface Setiterator in class AbstractCollectionpublic int size()
size in interface Setsize in class AbstractCollectionpublic boolean add(Object o)
add in interface Setadd in class AbstractCollection
|
JTP API Documentation | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||