Class AbstractImmutableSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
io.usethesource.capsule.util.collection.AbstractImmutableSet<E>
- All Implemented Interfaces:
Set<E>, Set.Immutable<E>, SetEq<E>, SetEq.Immutable<E>, Iterable<E>, Collection<E>, Set<E>
- Direct Known Subclasses:
AbstractSpecialisedImmutableSet
@Deprecated
public abstract class AbstractImmutableSet<E>
extends AbstractSet<E>
implements Set.Immutable<E>
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Set
Set.Immutable<K>, Set.Transient<K>Nested classes/interfaces inherited from interface SetEq
SetEq.Immutable<K>, SetEq.Transient<K> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.booleanaddAll(Collection<? extends E> c) Deprecated.Deprecated.voidclear()Deprecated.booleancontainsAll(Collection<?> c) Deprecated.booleancontainsAllEquivalent(Collection<?> c, EqualityComparator<Object> cmp) Deprecated.booleanDeprecated.booleanDeprecated.booleanremoveAll(Collection<?> c) Deprecated.booleanretainAll(Collection<?> c) Deprecated.Methods inherited from class AbstractSet
equals, hashCodeMethods inherited from class AbstractCollection
contains, isEmpty, iterator, size, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface Set
contains, equals, findFirst, get, hashCode, isEmpty, keyIterator, sizeMethods inherited from interface Set
iterator, spliterator, toArray, toArrayMethods inherited from interface Set.Immutable
__insert, __insertAll, __remove, __removeAll, __retainAll, intersect, subtract, unionMethods inherited from interface SetEq
containsEquivalent, equivalent, getEquivalentMethods inherited from interface SetEq.Immutable
__insertAllEquivalent, __insertEquivalent, __removeAllEquivalent, __removeEquivalent, __retainAllEquivalent
-
Constructor Details
-
AbstractImmutableSet
public AbstractImmutableSet()Deprecated.
-
-
Method Details
-
add
Deprecated.- Specified by:
addin interfaceCollection<E>- Specified by:
addin interfaceSet<E>- Overrides:
addin classAbstractCollection<E>
-
remove
Deprecated.- Specified by:
removein interfaceCollection<E>- Specified by:
removein interfaceSet<E>- Overrides:
removein classAbstractCollection<E>
-
addAll
Deprecated.- Specified by:
addAllin interfaceCollection<E>- Specified by:
addAllin interfaceSet<E>- Overrides:
addAllin classAbstractCollection<E>
-
removeAll
Deprecated.- Specified by:
removeAllin interfaceCollection<E>- Specified by:
removeAllin interfaceSet<E>- Overrides:
removeAllin classAbstractSet<E>
-
retainAll
Deprecated.- Specified by:
retainAllin interfaceCollection<E>- Specified by:
retainAllin interfaceSet<E>- Overrides:
retainAllin classAbstractCollection<E>
-
clear
public void clear()Deprecated.- Specified by:
clearin interfaceCollection<E>- Specified by:
clearin interfaceSet<E>- Overrides:
clearin classAbstractCollection<E>
-
isTransientSupported
public boolean isTransientSupported()Deprecated.- Specified by:
isTransientSupportedin interfaceSet.Immutable<E>
-
asTransient
Deprecated.- Specified by:
asTransientin interfaceSet.Immutable<E>
-
containsAll
Deprecated.- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceSet<E>- Specified by:
containsAllin interfaceSet<E>- Overrides:
containsAllin classAbstractCollection<E>
-
containsAllEquivalent
Deprecated.- Specified by:
containsAllEquivalentin interfaceSetEq<E>
-