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>
,java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.Set<E>
- Direct Known Subclasses:
AbstractSpecialisedImmutableSet
@Deprecated public abstract class AbstractImmutableSet<E> extends java.util.AbstractSet<E> implements Set.Immutable<E>
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.usethesource.capsule.Set
Set.Immutable<K>, Set.Transient<K>
-
Nested classes/interfaces inherited from interface io.usethesource.capsule.SetEq
SetEq.Immutable<K>, SetEq.Transient<K>
-
-
Constructor Summary
Constructors Constructor Description AbstractImmutableSet()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
add(E e)
Deprecated.boolean
addAll(java.util.Collection<? extends E> c)
Deprecated.Set.Transient<E>
asTransient()
Deprecated.void
clear()
Deprecated.boolean
containsAll(java.util.Collection<?> c)
Deprecated.boolean
containsAllEquivalent(java.util.Collection<?> c, EqualityComparator<java.lang.Object> cmp)
Deprecated.boolean
isTransientSupported()
Deprecated.boolean
remove(java.lang.Object o)
Deprecated.boolean
removeAll(java.util.Collection<?> c)
Deprecated.boolean
retainAll(java.util.Collection<?> c)
Deprecated.-
Methods inherited from class java.util.AbstractCollection
contains, isEmpty, iterator, size, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.usethesource.capsule.Set
contains, equals, findFirst, get, hashCode, isEmpty, keyIterator, size
-
Methods inherited from interface io.usethesource.capsule.Set.Immutable
__insert, __insertAll, __remove, __removeAll, __retainAll, intersect, subtract, union
-
Methods inherited from interface io.usethesource.capsule.SetEq
containsEquivalent, equivalent, getEquivalent
-
Methods inherited from interface io.usethesource.capsule.SetEq.Immutable
__insertAllEquivalent, __insertEquivalent, __removeAllEquivalent, __removeEquivalent, __retainAllEquivalent
-
-
-
-
Method Detail
-
add
public boolean add(E e)
Deprecated.
-
remove
public boolean remove(java.lang.Object o)
Deprecated.
-
addAll
public boolean addAll(java.util.Collection<? extends E> c)
Deprecated.
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
Deprecated.
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
Deprecated.
-
clear
public void clear()
Deprecated.
-
isTransientSupported
public boolean isTransientSupported()
Deprecated.- Specified by:
isTransientSupported
in interfaceSet.Immutable<E>
-
asTransient
public Set.Transient<E> asTransient()
Deprecated.- Specified by:
asTransient
in interfaceSet.Immutable<E>
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
Deprecated.
-
containsAllEquivalent
public boolean containsAllEquivalent(java.util.Collection<?> c, EqualityComparator<java.lang.Object> cmp)
Deprecated.- Specified by:
containsAllEquivalent
in interfaceSetEq<E>
-
-