|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractSet<java.lang.Object>
org.millscript.millscript.datatypes.NullSet
IEmptyMap.
@Deprecated public class NullSet
An implementation of Set, that will never contain any elements.
This is used in the implementation of NullMapWithDefault.
| Constructor Summary | |
|---|---|
NullSet()
Deprecated. |
|
| Method Summary | |
|---|---|
java.util.Iterator<java.lang.Object> |
iterator()
Deprecated. Returns a special NullIterator, as this set will never contain any values. |
int |
size()
Deprecated. Always returns zero, as this set never contains any values. |
| Methods inherited from class java.util.AbstractSet |
|---|
equals, hashCode, removeAll |
| Methods inherited from class java.util.AbstractCollection |
|---|
add, 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 |
|---|
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray |
| Constructor Detail |
|---|
public NullSet()
| Method Detail |
|---|
public int size()
size in interface java.util.Collection<java.lang.Object>size in interface java.util.Set<java.lang.Object>size in class java.util.AbstractCollection<java.lang.Object>public java.util.Iterator<java.lang.Object> iterator()
iterator in interface java.lang.Iterable<java.lang.Object>iterator in interface java.util.Collection<java.lang.Object>iterator in interface java.util.Set<java.lang.Object>iterator in class java.util.AbstractCollection<java.lang.Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||