public class SynchronizedFloatList extends AbstractSynchronizedFloatCollection implements MutableFloatList
MutableFloatList. It is imperative that the user manually synchronize on the on the
collection when iterating over it using an iterator or stream.
This file was automatically generated from template file synchronizedPrimitiveList.stg.
MutableFloatList.asSynchronized(),
MutableList.asSynchronized(),
Serialized Form| Constructor and Description |
|---|
SynchronizedFloatList(MutableFloatList list) |
SynchronizedFloatList(MutableFloatList list,
Object newLock) |
| 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() |
int |
binarySearch(float value) |
<V> MutableList<V> |
collect(FloatToObjectFunction<? extends V> function) |
<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.
|
<V,R extends Collection<V>> |
collectWithIndex(FloatIntToObjectFunction<? extends V> function,
R target)
Adds elements to the target Collection using results obtained by applying the specified function to each element
and its corresponding index.
|
MutableFloatList |
distinct() |
double |
dotProduct(FloatList list) |
boolean |
equals(Object otherList) |
void |
forEachInBoth(FloatList other,
FloatFloatProcedure procedure) |
void |
forEachWithIndex(FloatIntProcedure procedure) |
float |
get(int index) |
float |
getFirst() |
float |
getLast() |
int |
hashCode() |
int |
indexOf(float value) |
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectFloatIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(float value) |
MutableFloatList |
newEmpty() |
MutableFloatList |
reject(FloatPredicate predicate) |
MutableFloatList |
rejectWithIndex(FloatIntPredicate predicate)
Returns a new MutableFloatList excluding all elements with corresponding indexes matching the specified predicate.
|
<R extends MutableFloatCollection> |
rejectWithIndex(FloatIntPredicate predicate,
R target)
Returns a new MutableFloatCollection excluding all elements with corresponding indexes matching the specified predicate.
|
float |
removeAtIndex(int index) |
MutableFloatList |
reverseThis() |
MutableFloatList |
select(FloatPredicate predicate) |
MutableFloatList |
selectWithIndex(FloatIntPredicate predicate)
Returns a new MutableFloatList including all elements with corresponding indexes matching the specified predicate.
|
<R extends MutableFloatCollection> |
selectWithIndex(FloatIntPredicate predicate,
R target)
Returns a new MutableFloatCollection including all elements with corresponding indexes matching the specified predicate.
|
float |
set(int index,
float element) |
MutableFloatList |
shuffleThis() |
MutableFloatList |
shuffleThis(Random rnd) |
MutableFloatList |
sortThis() |
MutableFloatList |
sortThis(FloatComparator comparator) |
<T> MutableFloatList |
sortThisBy(FloatToObjectFunction<T> function) |
<T> MutableFloatList |
sortThisBy(FloatToObjectFunction<T> function,
Comparator<? super T> comparator) |
MutableFloatList |
subList(int fromIndex,
int toIndex) |
ImmutableFloatList |
toImmutable() |
MutableFloatList |
toReversed() |
SynchronizedFloatList |
with(float element) |
SynchronizedFloatList |
withAll(FloatIterable elements) |
SynchronizedFloatList |
without(float element) |
SynchronizedFloatList |
withoutAll(FloatIterable elements) |
<T> MutableList<FloatObjectPair<T>> |
zip(Iterable<T> iterable) |
MutableList<FloatFloatPair> |
zipFloat(FloatIterable iterable) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, chunk, clear, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, floatIterator, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reduce, reduceIfEmpty, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, sum, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringswap, tapadd, addAll, addAll, clear, floatIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAllallSatisfy, anySatisfy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic SynchronizedFloatList(MutableFloatList list)
public SynchronizedFloatList(MutableFloatList list, Object newLock)
public float getFirst()
getFirst in interface OrderedFloatIterablepublic float getLast()
getLast in interface ReversibleFloatIterablepublic int indexOf(float value)
indexOf in interface OrderedFloatIterablepublic 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 OrderedFloatIterableselect 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 OrderedFloatIterablereject 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 OrderedFloatIterablecollect in interface ReversibleFloatIterablecollect in class AbstractSynchronizedFloatCollectionpublic MutableFloatList sortThis()
sortThis in interface MutableFloatListpublic MutableFloatList sortThis(FloatComparator comparator)
sortThis in interface MutableFloatListpublic <T> MutableFloatList sortThisBy(FloatToObjectFunction<T> function)
sortThisBy in interface MutableFloatListpublic <T> MutableFloatList sortThisBy(FloatToObjectFunction<T> function, Comparator<? super T> comparator)
sortThisBy in interface MutableFloatListpublic MutableFloatList shuffleThis()
shuffleThis in interface MutableFloatListpublic MutableFloatList shuffleThis(Random rnd)
shuffleThis in interface MutableFloatListpublic int binarySearch(float value)
binarySearch in interface FloatListpublic double dotProduct(FloatList list)
dotProduct in interface FloatListpublic boolean equals(Object otherList)
public int 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()
toImmutable in interface MutableFloatCollectiontoImmutable in interface FloatListtoImmutable in interface MutableFloatListtoImmutable in class AbstractSynchronizedFloatCollectionpublic MutableFloatList newEmpty()
newEmpty in interface MutableFloatCollectionnewEmpty in interface MutableFloatListpublic 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 forEachInBoth(FloatList other, FloatFloatProcedure procedure)
forEachInBoth in interface FloatListpublic void forEachWithIndex(FloatIntProcedure procedure)
forEachWithIndex in interface OrderedFloatIterablepublic <T> T injectIntoWithIndex(T injectedValue,
ObjectFloatIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface OrderedFloatIterableinjectIntoWithIndex in interface ReversibleFloatIterablepublic MutableFloatList distinct()
distinct in interface FloatListdistinct in interface MutableFloatListdistinct in interface ReversibleFloatIterablepublic MutableFloatList subList(int fromIndex, int toIndex)
subList in interface FloatListsubList in interface MutableFloatListpublic MutableList<FloatFloatPair> zipFloat(FloatIterable iterable)
zipFloat in interface FloatListzipFloat in interface MutableFloatListpublic <T> MutableList<FloatObjectPair<T>> zip(Iterable<T> iterable)
zip in interface FloatListzip in interface MutableFloatListpublic MutableFloatList selectWithIndex(FloatIntPredicate predicate)
selectWithIndex in interface FloatListselectWithIndex in interface MutableFloatListselectWithIndex in interface OrderedFloatIterableselectWithIndex in interface ReversibleFloatIterablepublic <R extends MutableFloatCollection> R selectWithIndex(FloatIntPredicate predicate, R target)
selectWithIndex in interface OrderedFloatIterablepublic MutableFloatList rejectWithIndex(FloatIntPredicate predicate)
rejectWithIndex in interface FloatListrejectWithIndex in interface MutableFloatListrejectWithIndex in interface OrderedFloatIterablerejectWithIndex in interface ReversibleFloatIterablepublic <R extends MutableFloatCollection> R rejectWithIndex(FloatIntPredicate predicate, R target)
rejectWithIndex in interface OrderedFloatIterablepublic <V> MutableList<V> collectWithIndex(FloatIntToObjectFunction<? extends V> function)
collectWithIndex in interface FloatListcollectWithIndex in interface MutableFloatListcollectWithIndex in interface OrderedFloatIterablecollectWithIndex in interface ReversibleFloatIterablepublic <V,R extends Collection<V>> R collectWithIndex(FloatIntToObjectFunction<? extends V> function, R target)
collectWithIndex in interface OrderedFloatIterableCopyright © 2004–2022. All rights reserved.