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)
Delegates to
AbstractObjectCollection.rem(Object). |
add, clear, contains, hashCode, iterator, size, toArray, toArrayaddAll, containsAll, isEmpty, objectIterator, rem, removeAll, retainAll, toStringobjectIterator, toArrayadd, addAll, clear, contains, containsAll, hashCode, isEmpty, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic boolean remove(Object ok)
AbstractObjectCollectionAbstractObjectCollection.rem(Object).remove in interface ObjectSet<K>remove in interface Collection<K>remove in interface Set<K>remove in class ObjectCollections.EmptyCollection<K>Collection.remove(Object)public boolean equals(Object o)
equals in interface Collection<K>equals in interface Set<K>equals in class ObjectCollections.EmptyCollection<K>