ObjectIterable<K>, ReferenceCollection<K>, ReferenceSet<K>, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<K>, java.util.Collection<K>, java.util.Set<K>ReferenceSortedSets.EmptySetpublic static class ReferenceSets.EmptySet<K> extends ReferenceCollections.EmptyCollection<K> implements ReferenceSet<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) |
toStringaddAll, clear, contains, hashCode, iterator, removeAll, retainAll, size, toArrayiteratorpublic 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 ReferenceCollections.EmptyCollection<K>