@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 Formadd, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, each, floatIterator, forEach, injectInto, 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, floatIterator, remove, removeAll, removeAll, retainAll, retainAll
allSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, 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 OrderedFloatIterable
public float getLast()
getLast
in interface ReversibleFloatIterable
public int indexOf(float value)
indexOf
in interface OrderedFloatIterable
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 OrderedFloatIterable
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 OrderedFloatIterable
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 OrderedFloatIterable
collect
in interface ReversibleFloatIterable
collect
in class AbstractSynchronizedFloatCollection
public MutableFloatList sortThis()
MutableFloatList
sortThis
in interface MutableFloatList
public int binarySearch(float value)
binarySearch
in interface FloatList
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 OrderedFloatIterable
public <T> T injectIntoWithIndex(T injectedValue, ObjectFloatIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex
in interface OrderedFloatIterable
injectIntoWithIndex
in interface ReversibleFloatIterable
public MutableFloatList distinct()
distinct
in interface FloatList
distinct
in interface MutableFloatList
distinct
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–2016. All rights reserved.