ObjectCollection<K>, ObjectIterable<K>, ObjectSet<K>, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<K>, java.util.Collection<K>, java.util.Set<K>ObjectSortedSets.EmptySetpublic static class ObjectSets.EmptySet<K> extends ObjectCollections.EmptyCollection<K> implements ObjectSet<K>, java.io.Serializable, java.lang.Cloneable
This class may be useful to implement your own in case you subclass a type-specific set.
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
|
boolean |
equals(java.lang.Object o) |
|
boolean |
remove(java.lang.Object ok) |
toStringpublic boolean remove(java.lang.Object ok)
public java.lang.Object clone()
public boolean equals(java.lang.Object o)
equals in interface java.util.Collection<K>equals in interface java.util.Set<K>equals in class ObjectCollections.EmptyCollection<K>