FloatIterable
, FloatList
, MutableFloatCollection
, OrderedFloatIterable
, PrimitiveIterable
, ReversibleFloatIterable
FloatArrayList
, SynchronizedFloatList
, UnmodifiableFloatList
public interface MutableFloatList extends MutableFloatCollection, FloatList
Modifier and Type | Method | Description |
---|---|---|
boolean |
addAllAtIndex(int index,
float... source) |
|
boolean |
addAllAtIndex(int index,
FloatIterable source) |
|
void |
addAtIndex(int index,
float element) |
|
MutableFloatList |
asSynchronized() |
|
MutableFloatList |
asUnmodifiable() |
|
<V> MutableList<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 <V> MutableList<V> |
collectWithIndex(FloatIntToObjectFunction<? extends V> function) |
Returns a new MutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
MutableFloatList |
distinct() |
|
MutableFloatList |
reject(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
float |
removeAtIndex(int index) |
|
MutableFloatList |
reverseThis() |
|
MutableFloatList |
select(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
float |
set(int index,
float element) |
|
MutableFloatList |
sortThis() |
Sorts this list mutating its contents and returns the same mutable list (this).
|
MutableFloatList |
subList(int fromIndex,
int toIndex) |
|
default MutableFloatList |
tap(FloatProcedure procedure) |
|
ImmutableFloatList |
toImmutable() |
Returns an immutable copy of this list.
|
MutableFloatList |
toReversed() |
|
MutableFloatList |
with(float element) |
|
MutableFloatList |
withAll(FloatIterable elements) |
|
MutableFloatList |
without(float element) |
|
MutableFloatList |
withoutAll(FloatIterable elements) |
|
default <T> MutableList<FloatObjectPair<T>> |
zip(java.lang.Iterable<T> list) |
Returns a
MutableList formed from this MutableFloatList and a ListIterable by
combining corresponding elements in pairs. |
default MutableList<FloatFloatPair> |
zipFloat(FloatIterable iterable) |
Returns a
MutableList formed from this MutableFloatList and another FloatList by
combining corresponding elements in pairs. |
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
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf
add, addAll, addAll, clear, floatIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAll
collectWithIndex, forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
void addAtIndex(int index, float element)
boolean addAllAtIndex(int index, float... source)
boolean addAllAtIndex(int index, FloatIterable source)
float removeAtIndex(int index)
float set(int index, float element)
MutableFloatList select(FloatPredicate predicate)
FloatIterable
select
in interface FloatIterable
select
in interface FloatList
select
in interface MutableFloatCollection
select
in interface OrderedFloatIterable
select
in interface ReversibleFloatIterable
MutableFloatList reject(FloatPredicate predicate)
FloatIterable
reject
in interface FloatIterable
reject
in interface FloatList
reject
in interface MutableFloatCollection
reject
in interface OrderedFloatIterable
reject
in interface ReversibleFloatIterable
MutableFloatList with(float element)
with
in interface MutableFloatCollection
MutableFloatList without(float element)
without
in interface MutableFloatCollection
MutableFloatList withAll(FloatIterable elements)
withAll
in interface MutableFloatCollection
MutableFloatList withoutAll(FloatIterable elements)
withoutAll
in interface MutableFloatCollection
default MutableFloatList tap(FloatProcedure procedure)
tap
in interface FloatIterable
tap
in interface FloatList
tap
in interface MutableFloatCollection
<V> MutableList<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterable
collect
in interface FloatIterable
collect
in interface FloatList
collect
in interface MutableFloatCollection
collect
in interface OrderedFloatIterable
collect
in interface ReversibleFloatIterable
default <V> MutableList<V> collectWithIndex(FloatIntToObjectFunction<? extends V> function)
collectWithIndex
in interface FloatList
collectWithIndex
in interface OrderedFloatIterable
collectWithIndex
in interface ReversibleFloatIterable
MutableFloatList reverseThis()
MutableFloatList toReversed()
toReversed
in interface FloatList
toReversed
in interface ReversibleFloatIterable
MutableFloatList distinct()
distinct
in interface FloatList
distinct
in interface ReversibleFloatIterable
MutableFloatList sortThis()
MutableFloatList asUnmodifiable()
asUnmodifiable
in interface MutableFloatCollection
MutableFloatList asSynchronized()
asSynchronized
in interface MutableFloatCollection
ImmutableFloatList toImmutable()
toImmutable
in interface FloatList
toImmutable
in interface MutableFloatCollection
MutableFloatList subList(int fromIndex, int toIndex)
default MutableList<FloatFloatPair> zipFloat(FloatIterable iterable)
MutableList
formed from this MutableFloatList
and another FloatList
by
combining corresponding elements in pairs. If one of the two FloatList
s is longer than the other, its
remaining elements are ignored.default <T> MutableList<FloatObjectPair<T>> zip(java.lang.Iterable<T> list)
MutableList
formed from this MutableFloatList
and a ListIterable
by
combining corresponding elements in pairs. If one of the two Lists is longer than the other, its
remaining elements are ignored.Copyright © 2004–2018. All rights reserved.