public interface MutableFloatSet extends MutableFloatCollection, FloatSet
| Modifier and Type | Method and Description |
|---|---|
MutableFloatSet |
asSynchronized() |
MutableFloatSet |
asUnmodifiable() |
<V> MutableSet<V> |
collect(FloatToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
default MutableFloatSet |
difference(FloatSet set)
Returns the set of all members of
this that are not members of set. |
FloatSet |
freeze()
Returns a frozen copy of this set.
|
default MutableFloatSet |
intersect(FloatSet set)
Returns the set of all objects that are members of both
this and set. |
default MutableFloatSet |
newEmpty()
Creates a new empty mutable version of the same Set type.
|
MutableFloatSet |
reject(FloatPredicate predicate)
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
MutableFloatSet |
select(FloatPredicate predicate)
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
default MutableFloatSet |
symmetricDifference(FloatSet set)
Returns the set of all objects that are a member of exactly one of
this and set (elements which
are in one of the sets, but not in both). |
default MutableFloatSet |
tap(FloatProcedure procedure) |
ImmutableFloatSet |
toImmutable()
Returns an immutable copy of this set.
|
default MutableFloatSet |
union(FloatSet set) |
MutableFloatSet |
with(float element) |
MutableFloatSet |
withAll(FloatIterable elements) |
MutableFloatSet |
without(float element) |
MutableFloatSet |
withoutAll(FloatIterable elements) |
add, addAll, addAll, clear, floatIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAllcartesianProduct, equals, hashCode, isProperSubsetOf, isSubsetOfallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringMutableFloatSet select(FloatPredicate predicate)
FloatIterableselect in interface FloatIterableselect in interface FloatSetselect in interface MutableFloatCollectionMutableFloatSet reject(FloatPredicate predicate)
FloatIterablereject in interface FloatIterablereject in interface FloatSetreject in interface MutableFloatCollectiondefault MutableFloatSet tap(FloatProcedure procedure)
tap in interface FloatIterabletap in interface FloatSettap in interface MutableFloatCollection<V> MutableSet<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterablecollect in interface FloatIterablecollect in interface FloatSetcollect in interface MutableFloatCollectionMutableFloatSet with(float element)
with in interface MutableFloatCollectionMutableFloatSet without(float element)
without in interface MutableFloatCollectionMutableFloatSet withAll(FloatIterable elements)
withAll in interface MutableFloatCollectionMutableFloatSet withoutAll(FloatIterable elements)
withoutAll in interface MutableFloatCollectionMutableFloatSet asUnmodifiable()
asUnmodifiable in interface MutableFloatCollectionMutableFloatSet asSynchronized()
asSynchronized in interface MutableFloatCollectionFloatSet freeze()
ImmutableFloatSet toImmutable()
toImmutable in interface FloatSettoImmutable in interface MutableFloatCollectiondefault MutableFloatSet newEmpty()
newEmpty in interface MutableFloatCollectiondefault MutableFloatSet union(FloatSet set)
default MutableFloatSet intersect(FloatSet set)
this and set. The intersection of
[1, 2, 3] and [2, 3, 4] is the set [2, 3].default MutableFloatSet difference(FloatSet set)
this that are not members of set. The difference of
[1, 2, 3] and [2, 3, 4] is [1].difference in interface FloatSetdefault MutableFloatSet symmetricDifference(FloatSet set)
this and set (elements which
are in one of the sets, but not in both). For instance, for the sets [1, 2, 3] and [2, 3, 4], the symmetric
difference set is [1, 4] . It is the set difference of the union and the intersection.symmetricDifference in interface FloatSetCopyright © 2004–2021. All rights reserved.