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, size