public static class ReferenceSets.EmptySet<K> extends ReferenceCollections.EmptyCollection<K> implements ReferenceSet<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
AbstractReferenceCollection.rem(Object). |
add, clear, contains, hashCode, iterator, size, toArray, toArrayaddAll, containsAll, isEmpty, objectIterator, rem, removeAll, retainAll, toStringiteratorobjectIterator, toArrayadd, addAll, clear, contains, containsAll, hashCode, isEmpty, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic boolean remove(Object ok)
AbstractReferenceCollectionAbstractReferenceCollection.rem(Object).remove in interface ReferenceSet<K>remove in interface Collection<K>remove in interface Set<K>remove in class ReferenceCollections.EmptyCollection<K>Collection.remove(Object)public boolean equals(Object o)
equals in interface Collection<K>equals in interface Set<K>equals in class ReferenceCollections.EmptyCollection<K>