Package io.usethesource.capsule
Interface Set.Immutable<K>
- All Superinterfaces:
Collection<K>
,Iterable<K>
,Set<K>
,Set<K>
,SetEq<K>
,SetEq.Immutable<K>
- All Known Implementing Classes:
AbstractImmutableSet
,AbstractSpecialisedImmutableSet
,PersistentTrieSet
,Set0
,Set1
,Set2
,Set3
,Set4
,Set5
-
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>
-
Method Summary
Modifier and TypeMethodDescription__insertAll
(Set<? extends K> set) __removeAll
(Set<? extends K> set) __retainAll
(Set<? extends K> set) default Set.Immutable
<K> intersect
(Set.Immutable<K> other) static <K> Set.Immutable
<K> intersect
(Set.Immutable<K> set1, Set.Immutable<K> set2) boolean
static <K> Set.Immutable
<K> of()
static <K> Set.Immutable
<K> of
(K item) static <K> Set.Immutable
<K> of
(K item0, K item1) default Set.Immutable
<K> subtract
(Set.Immutable<K> other) static <K> Set.Immutable
<K> subtract
(Set.Immutable<K> set1, Set.Immutable<K> set2) default Set.Immutable
<K> union
(Set.Immutable<K> other) static <T> Set.Immutable
<T> union
(Set.Immutable<T> set1, Set.Immutable<T> set2) Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface io.usethesource.capsule.Set
contains, containsAll, equals, findFirst, get, hashCode, isEmpty, keyIterator, size
Methods inherited from interface java.util.Set
add, addAll, clear, iterator, remove, removeAll, retainAll, spliterator, toArray, toArray
Methods inherited from interface io.usethesource.capsule.SetEq
containsAllEquivalent, containsEquivalent, equivalent, getEquivalent
Methods inherited from interface io.usethesource.capsule.SetEq.Immutable
__insertAllEquivalent, __insertEquivalent, __removeAllEquivalent, __removeEquivalent, __retainAllEquivalent
-
Method Details
-
__insert
-
__remove
-
__insertAll
-
__removeAll
-
__retainAll
-
union
-
subtract
-
intersect
-
isTransientSupported
boolean isTransientSupported() -
asTransient
Set.Transient<K> asTransient() -
of
-
of
-
of
-
union
-
subtract
-
intersect
-