Class KeyCollectionAsSet<E>
java.lang.Object
org.magicwerk.brownies.collections.CollectionAsSet<E>
org.magicwerk.brownies.collections.KeyCollectionAsSet<E>
- All Implemented Interfaces:
Serializable
,Iterable<E>
,Collection<E>
,Set<E>
Implements a Set based on a Collection.
- See Also:
-
Field Summary
Fields inherited from class org.magicwerk.brownies.collections.CollectionAsSet
coll, immutable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.magicwerk.brownies.collections.CollectionAsSet
addAll, checkMutable, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
spliterator
-
Constructor Details
-
KeyCollectionAsSet
-
-
Method Details
-
add
- Specified by:
add
in interfaceCollection<E>
- Specified by:
add
in interfaceSet<E>
- Overrides:
add
in classCollectionAsSet<E>
-