FloatIterable
, PrimitiveIterable
MutableFloatBag
, MutableFloatList
, MutableFloatSet
AbstractMutableFloatKeySet
, AbstractSynchronizedFloatCollection
, AbstractUnmodifiableFloatCollection
, FloatArrayList
, FloatHashBag
, FloatHashSet
, SynchronizedFloatBag
, SynchronizedFloatCollection
, SynchronizedFloatList
, SynchronizedFloatSet
, UnmodifiableFloatBag
, UnmodifiableFloatCollection
, UnmodifiableFloatList
, UnmodifiableFloatSet
public interface MutableFloatCollection extends FloatIterable
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(float element) |
|
boolean |
addAll(float... source) |
|
boolean |
addAll(FloatIterable source) |
|
MutableFloatCollection |
asSynchronized() |
|
MutableFloatCollection |
asUnmodifiable() |
|
void |
clear() |
|
<V> MutableCollection<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.
|
MutableFloatIterator |
floatIterator() |
Returns a primitive iterator that can be used to iterate over the FloatIterable in an
imperative style.
|
MutableFloatCollection |
reject(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
boolean |
remove(float value) |
|
boolean |
removeAll(float... source) |
|
boolean |
removeAll(FloatIterable source) |
|
default boolean |
removeIf(FloatPredicate predicate) |
|
boolean |
retainAll(float... source) |
|
boolean |
retainAll(FloatIterable elements) |
|
MutableFloatCollection |
select(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
default MutableFloatCollection |
tap(FloatProcedure procedure) |
|
ImmutableFloatCollection |
toImmutable() |
|
MutableFloatCollection |
with(float element) |
|
MutableFloatCollection |
withAll(FloatIterable elements) |
|
MutableFloatCollection |
without(float element) |
|
MutableFloatCollection |
withoutAll(FloatIterable elements) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
MutableFloatIterator floatIterator()
FloatIterable
floatIterator
in interface FloatIterable
boolean add(float element)
boolean addAll(float... source)
boolean addAll(FloatIterable source)
boolean remove(float value)
boolean removeAll(FloatIterable source)
boolean removeAll(float... source)
default boolean removeIf(FloatPredicate predicate)
boolean retainAll(FloatIterable elements)
Collection.retainAll(Collection)
boolean retainAll(float... source)
Collection.retainAll(Collection)
void clear()
MutableFloatCollection select(FloatPredicate predicate)
FloatIterable
select
in interface FloatIterable
MutableFloatCollection reject(FloatPredicate predicate)
FloatIterable
reject
in interface FloatIterable
<V> MutableCollection<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterable
collect
in interface FloatIterable
MutableFloatCollection with(float element)
MutableFloatCollection without(float element)
MutableFloatCollection withAll(FloatIterable elements)
MutableFloatCollection withoutAll(FloatIterable elements)
MutableFloatCollection asUnmodifiable()
MutableFloatCollection asSynchronized()
ImmutableFloatCollection toImmutable()
default MutableFloatCollection tap(FloatProcedure procedure)
tap
in interface FloatIterable
Copyright © 2004–2018. All rights reserved.