public static class ObjectSets.EmptySet<K> extends ObjectCollections.EmptyCollection<K> implements ObjectSet<K>, Serializable, Cloneable
This class may be useful to implement your own in case you subclass a type-specific set.
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object o) |
boolean |
remove(Object ok) |
addAll, clear, contains, hashCode, iterator, removeAll, retainAll, size, toArraytoStringadd, containsAll, isEmpty, toArrayadd, addAll, clear, contains, containsAll, hashCode, isEmpty, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic boolean remove(Object ok)
remove in interface Collection<K>remove in interface Set<K>remove in class AbstractCollection<K>public boolean equals(Object o)
equals in interface Collection<K>equals in interface Set<K>equals in class ObjectCollections.EmptyCollection<K>