Class DeepImmutableSet<E>
java.lang.Object
java.util.AbstractCollection<E>
de.cronn.reflection.util.immutable.collection.DeepImmutableCollection<E>
de.cronn.reflection.util.immutable.collection.DeepImmutableSet<E>
- All Implemented Interfaces:
Immutable,java.io.Serializable,java.lang.Iterable<E>,java.util.Collection<E>,java.util.Set<E>
public class DeepImmutableSet<E> extends DeepImmutableCollection<E> implements java.util.Set<E>
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DeepImmutableSet(java.util.Set<E> set) -
Method Summary
Modifier and Type Method Description static <T> DeepImmutableSet<T>of(T element)static <T> DeepImmutableSet<T>of(T e1, T e2)static <T> DeepImmutableSet<T>of(T e1, T e2, T e3)Methods inherited from class de.cronn.reflection.util.immutable.collection.DeepImmutableCollection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, sizeMethods inherited from class java.util.AbstractCollection
toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.lang.Iterable
forEachMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
-
Constructor Details
-
DeepImmutableSet
-
-
Method Details
-
of
-
of
-
of
-