Modifier and Type | Interface and Description |
---|---|
static interface |
IDiffSet.Durable<V> |
ISet.Mixin<V>
Modifier and Type | Method and Description |
---|---|
default ISet<V> |
clone() |
IDiffMap<V,Void> |
diffMap() |
default IList<V> |
elements() |
default OptionalLong |
indexOf(V element) |
default V |
nth(long idx) |
IDiffSet<V> |
rebase(IMap<V,Void> newUnderlying)
Returns a new diff, which is rebased atop the new underlying collection.
|
default long |
size() |
default IMap<V,Void> |
underlying()
The underlying collection
|
default BiPredicate<V,V> |
valueEquality() |
default ToLongFunction<V> |
valueHash() |
add, contains, containsAll, containsAll, containsAny, containsAny, diff, difference, forked, intersection, isLinear, iterator, linear, remove, sliceIndices, split, spliterator, stream, test, toArray, toArray, toSet, union, zip
iterator, nth, save
IDiffSet<V> rebase(IMap<V,Void> newUnderlying)
IDiff
a.rebase(b).rebase(c)
is not necessarily equivalent to a.rebase(c)
.default IMap<V,Void> underlying()
IDiff
underlying
in interface IDiff<IMap<V,Void>>
default ToLongFunction<V> valueHash()
default BiPredicate<V,V> valueEquality()
valueEquality
in interface ISet<V>
default OptionalLong indexOf(V element)
default long size()
size
in interface ICollection<ISet<V>,V>
default V nth(long idx)
nth
in interface ICollection<ISet<V>,V>
idx