@ThreadSafe public final class SynchronizedFloatList extends AbstractSynchronizedFloatCollection implements MutableFloatList
MutableFloatList
. It is imperative that the user manually synchronize on the collection when iterating over it using the
FloatIterator
, as per Collections.synchronizedCollection(Collection)
.
This file was automatically generated from template file synchronizedPrimitiveList.stg.
MutableFloatList.asSynchronized()
,
MutableList.asSynchronized()
,
Serialized FormModifier and Type | Method and Description |
---|---|
boolean |
addAllAtIndex(int index,
float... source) |
boolean |
addAllAtIndex(int index,
FloatIterable source) |
void |
addAtIndex(int index,
float element) |
LazyFloatIterable |
asLazy() |
LazyFloatIterable |
asReversed() |
MutableFloatList |
asSynchronized() |
MutableFloatList |
asUnmodifiable() |
<V> MutableList<V> |
collect(FloatToObjectFunction<? extends V> function) |
double |
dotProduct(FloatList list) |
boolean |
equals(Object otherList)
Follows the same general contract as
List.equals(Object) . |
void |
forEachWithIndex(FloatIntProcedure procedure) |
float |
get(int index) |
float |
getFirst() |
float |
getLast() |
int |
hashCode()
Follows the same general contract as
List.hashCode() . |
int |
indexOf(float value) |
<T> T |
injectInto(T injectedValue,
ObjectFloatToObjectFunction<? super T,? extends T> function) |
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectFloatIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(float value) |
MutableFloatList |
reject(FloatPredicate predicate) |
float |
removeAtIndex(int index) |
MutableFloatList |
reverseThis() |
MutableFloatList |
select(FloatPredicate 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) |
ImmutableFloatList |
toImmutable()
Returns an immutable copy of this list.
|
MutableFloatList |
toReversed() |
SynchronizedFloatList |
with(float element) |
SynchronizedFloatList |
withAll(FloatIterable elements) |
SynchronizedFloatList |
without(float element) |
SynchronizedFloatList |
withoutAll(FloatIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, floatIterator, forEach, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
add, addAll, addAll, clear, remove, removeAll, removeAll, retainAll, retainAll
allSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, floatIterator, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
public float getFirst()
getFirst
in interface ReversibleFloatIterable
public float getLast()
getLast
in interface ReversibleFloatIterable
public int indexOf(float value)
indexOf
in interface ReversibleFloatIterable
public int lastIndexOf(float value)
lastIndexOf
in interface FloatList
public void addAtIndex(int index, float element)
addAtIndex
in interface MutableFloatList
public boolean addAllAtIndex(int index, float... source)
addAllAtIndex
in interface MutableFloatList
public boolean addAllAtIndex(int index, FloatIterable source)
addAllAtIndex
in interface MutableFloatList
public float removeAtIndex(int index)
removeAtIndex
in interface MutableFloatList
public float set(int index, float element)
set
in interface MutableFloatList
public SynchronizedFloatList with(float element)
with
in interface MutableFloatCollection
with
in interface MutableFloatList
with
in class AbstractSynchronizedFloatCollection
public SynchronizedFloatList without(float element)
without
in interface MutableFloatCollection
without
in interface MutableFloatList
without
in class AbstractSynchronizedFloatCollection
public SynchronizedFloatList withAll(FloatIterable elements)
withAll
in interface MutableFloatCollection
withAll
in interface MutableFloatList
withAll
in class AbstractSynchronizedFloatCollection
public SynchronizedFloatList withoutAll(FloatIterable elements)
withoutAll
in interface MutableFloatCollection
withoutAll
in interface MutableFloatList
withoutAll
in class AbstractSynchronizedFloatCollection
public MutableFloatList select(FloatPredicate predicate)
select
in interface MutableFloatCollection
select
in interface FloatIterable
select
in interface FloatList
select
in interface MutableFloatList
select
in interface ReversibleFloatIterable
select
in class AbstractSynchronizedFloatCollection
public MutableFloatList reject(FloatPredicate predicate)
reject
in interface MutableFloatCollection
reject
in interface FloatIterable
reject
in interface FloatList
reject
in interface MutableFloatList
reject
in interface ReversibleFloatIterable
reject
in class AbstractSynchronizedFloatCollection
public <V> MutableList<V> collect(FloatToObjectFunction<? extends V> function)
collect
in interface MutableFloatCollection
collect
in interface FloatIterable
collect
in interface FloatList
collect
in interface MutableFloatList
collect
in interface ReversibleFloatIterable
collect
in class AbstractSynchronizedFloatCollection
public MutableFloatList sortThis()
MutableFloatList
sortThis
in interface MutableFloatList
public double dotProduct(FloatList list)
dotProduct
in interface FloatList
public boolean equals(Object otherList)
FloatList
List.equals(Object)
.public int hashCode()
FloatList
List.hashCode()
.public LazyFloatIterable asLazy()
asLazy
in interface FloatIterable
asLazy
in class AbstractSynchronizedFloatCollection
public MutableFloatList asUnmodifiable()
asUnmodifiable
in interface MutableFloatCollection
asUnmodifiable
in interface MutableFloatList
asUnmodifiable
in class AbstractSynchronizedFloatCollection
public MutableFloatList asSynchronized()
asSynchronized
in interface MutableFloatCollection
asSynchronized
in interface MutableFloatList
asSynchronized
in class AbstractSynchronizedFloatCollection
public ImmutableFloatList toImmutable()
MutableFloatList
toImmutable
in interface MutableFloatCollection
toImmutable
in interface FloatList
toImmutable
in interface MutableFloatList
toImmutable
in class AbstractSynchronizedFloatCollection
public MutableFloatList reverseThis()
reverseThis
in interface MutableFloatList
public MutableFloatList toReversed()
toReversed
in interface FloatList
toReversed
in interface MutableFloatList
toReversed
in interface ReversibleFloatIterable
public LazyFloatIterable asReversed()
asReversed
in interface ReversibleFloatIterable
public void forEachWithIndex(FloatIntProcedure procedure)
forEachWithIndex
in interface ReversibleFloatIterable
public <T> T injectInto(T injectedValue, ObjectFloatToObjectFunction<? super T,? extends T> function)
injectInto
in interface FloatIterable
injectInto
in class AbstractSynchronizedFloatCollection
public <T> T injectIntoWithIndex(T injectedValue, ObjectFloatIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex
in interface ReversibleFloatIterable
public MutableFloatList subList(int fromIndex, int toIndex)
subList
in interface FloatList
subList
in interface MutableFloatList
List#subList(int fromIndex, int toIndex)}
Copyright © 2004–2019. All rights reserved.