@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 Form| Modifier 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, toStringadd, addAll, addAll, clear, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, floatIterator, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic float getFirst()
getFirst in interface ReversibleFloatIterablepublic float getLast()
getLast in interface ReversibleFloatIterablepublic int indexOf(float value)
indexOf in interface ReversibleFloatIterablepublic int lastIndexOf(float value)
lastIndexOf in interface FloatListpublic void addAtIndex(int index,
float element)
addAtIndex in interface MutableFloatListpublic boolean addAllAtIndex(int index,
float... source)
addAllAtIndex in interface MutableFloatListpublic boolean addAllAtIndex(int index,
FloatIterable source)
addAllAtIndex in interface MutableFloatListpublic float removeAtIndex(int index)
removeAtIndex in interface MutableFloatListpublic float set(int index,
float element)
set in interface MutableFloatListpublic SynchronizedFloatList with(float element)
with in interface MutableFloatCollectionwith in interface MutableFloatListwith in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatList without(float element)
without in interface MutableFloatCollectionwithout in interface MutableFloatListwithout in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatList withAll(FloatIterable elements)
withAll in interface MutableFloatCollectionwithAll in interface MutableFloatListwithAll in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatList withoutAll(FloatIterable elements)
withoutAll in interface MutableFloatCollectionwithoutAll in interface MutableFloatListwithoutAll in class AbstractSynchronizedFloatCollectionpublic MutableFloatList select(FloatPredicate predicate)
select in interface MutableFloatCollectionselect in interface FloatIterableselect in interface FloatListselect in interface MutableFloatListselect in interface ReversibleFloatIterableselect in class AbstractSynchronizedFloatCollectionpublic MutableFloatList reject(FloatPredicate predicate)
reject in interface MutableFloatCollectionreject in interface FloatIterablereject in interface FloatListreject in interface MutableFloatListreject in interface ReversibleFloatIterablereject in class AbstractSynchronizedFloatCollectionpublic <V> MutableList<V> collect(FloatToObjectFunction<? extends V> function)
collect in interface MutableFloatCollectioncollect in interface FloatIterablecollect in interface FloatListcollect in interface MutableFloatListcollect in interface ReversibleFloatIterablecollect in class AbstractSynchronizedFloatCollectionpublic MutableFloatList sortThis()
MutableFloatListsortThis in interface MutableFloatListpublic double dotProduct(FloatList list)
dotProduct in interface FloatListpublic boolean equals(Object otherList)
FloatListList.equals(Object).public int hashCode()
FloatListList.hashCode().public LazyFloatIterable asLazy()
asLazy in interface FloatIterableasLazy in class AbstractSynchronizedFloatCollectionpublic MutableFloatList asUnmodifiable()
asUnmodifiable in interface MutableFloatCollectionasUnmodifiable in interface MutableFloatListasUnmodifiable in class AbstractSynchronizedFloatCollectionpublic MutableFloatList asSynchronized()
asSynchronized in interface MutableFloatCollectionasSynchronized in interface MutableFloatListasSynchronized in class AbstractSynchronizedFloatCollectionpublic ImmutableFloatList toImmutable()
MutableFloatListtoImmutable in interface MutableFloatCollectiontoImmutable in interface FloatListtoImmutable in interface MutableFloatListtoImmutable in class AbstractSynchronizedFloatCollectionpublic MutableFloatList reverseThis()
reverseThis in interface MutableFloatListpublic MutableFloatList toReversed()
toReversed in interface FloatListtoReversed in interface MutableFloatListtoReversed in interface ReversibleFloatIterablepublic LazyFloatIterable asReversed()
asReversed in interface ReversibleFloatIterablepublic void forEachWithIndex(FloatIntProcedure procedure)
forEachWithIndex in interface ReversibleFloatIterablepublic <T> T injectInto(T injectedValue,
ObjectFloatToObjectFunction<? super T,? extends T> function)
injectInto in interface FloatIterableinjectInto in class AbstractSynchronizedFloatCollectionpublic <T> T injectIntoWithIndex(T injectedValue,
ObjectFloatIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface ReversibleFloatIterablepublic MutableFloatList subList(int fromIndex, int toIndex)
subList in interface FloatListsubList in interface MutableFloatListList#subList(int fromIndex, int toIndex)}Copyright © 2004–2017. All rights reserved.