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()
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SynchronizedFloatList | back to summary |
|---|---|
| public SynchronizedFloatList(MutableFloatList list) | |
| SynchronizedFloatList | back to summary |
|---|---|
| public SynchronizedFloatList(MutableFloatList list, Object newLock) | |
| addAllAtIndex | back to summary |
|---|---|
| public boolean addAllAtIndex(int index, float... source) Implements org.
| |
| addAllAtIndex | back to summary |
|---|---|
| public boolean addAllAtIndex(int index, FloatIterable source) Implements org.
| |
| addAtIndex | back to summary |
|---|---|
| public void addAtIndex(int index, float element) Implements org.
| |
| asLazy | back to summary |
|---|---|
| public LazyFloatIterable asLazy() Overrides org. Implements org. Doc from org. Returns a LazyFloatIterable adapter wrapping the source FloatIterable.
| |
| asReversed | back to summary |
|---|---|
| public LazyFloatIterable asReversed() Implements org.
| |
| asSynchronized | back to summary |
|---|---|
| public MutableFloatList asSynchronized() Implements org.
| |
| asUnmodifiable | back to summary |
|---|---|
| public MutableFloatList asUnmodifiable() Implements org.
| |
| binarySearch | back to summary |
|---|---|
| public int binarySearch(float value) Implements org.
| |
| boxed | back to summary |
|---|---|
| public MutableList Implements org.
| |
| collect | back to summary |
|---|---|
| public <V> MutableList Implements org. Doc from org. Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.
| |
| collectWithIndex | back to summary |
|---|---|
| public <V> MutableList Overrides default org. Returns a new MutableList using results obtained by applying the specified function to each element and its corresponding index.
| |
| collectWithIndex | back to summary |
|---|---|
| public <V, R extends Collection Overrides default org. Adds elements to the target Collection using results obtained by applying the specified function to each element and its corresponding index.
| |
| distinct | back to summary |
|---|---|
| public MutableFloatList distinct() Implements org.
| |
| dotProduct | back to summary |
|---|---|
| public double dotProduct(FloatList list) Implements org.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object otherList) Overrides java. Implements org. Doc from org. Follows the same general contract as
| |
| forEachInBoth | back to summary |
|---|---|
| public void forEachInBoth(FloatList other, FloatFloatProcedure procedure) Overrides default org. Doc from org. This method iterates over two CharList instances of the same size together using the specified CharCharProcedure.
| |
| forEachWithIndex | back to summary |
|---|---|
| public void forEachWithIndex(FloatIntProcedure procedure) Implements org.
| |
| get | back to summary |
|---|---|
| public float get(int index) Implements org.
| |
| getFirst | back to summary |
|---|---|
| public float getFirst() Implements org.
| |
| getLast | back to summary |
|---|---|
| public float getLast() Implements org.
| |
| getMutableFloatList | back to summary |
|---|---|
| private MutableFloatList getMutableFloatList() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements org. Doc from org. Follows the same general contract as
| |
| indexOf | back to summary |
|---|---|
| public int indexOf(float value) Implements org.
| |
| injectIntoWithIndex | back to summary |
|---|---|
| public <T> T injectIntoWithIndex(T injectedValue, ObjectFloatIntToObjectFunction<? super T, ? extends T> function) Implements org.
| |
| lastIndexOf | back to summary |
|---|---|
| public int lastIndexOf(float value) Implements org.
| |
| newEmpty | back to summary |
|---|---|
| public MutableFloatList newEmpty() Overrides default org. Doc from org. Creates a new empty mutable version of the same List type.
| |
| reject | back to summary |
|---|---|
| public MutableFloatList reject(FloatPredicate predicate) Overrides org. Implements org. Doc from org. Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.
| |
| rejectWithIndex | back to summary |
|---|---|
| public MutableFloatList rejectWithIndex(FloatIntPredicate predicate) Overrides default org. Returns a new MutableFloatList excluding all elements with corresponding indexes matching the specified predicate.
| |
| rejectWithIndex | back to summary |
|---|---|
| public <R extends MutableFloatCollection> R rejectWithIndex(FloatIntPredicate predicate, R target) Overrides default org. Returns a new MutableFloatCollection excluding all elements with corresponding indexes matching the specified predicate.
| |
| removeAtIndex | back to summary |
|---|---|
| public float removeAtIndex(int index) Implements org.
| |
| reverseThis | back to summary |
|---|---|
| public MutableFloatList reverseThis() Implements org.
| |
| select | back to summary |
|---|---|
| public MutableFloatList select(FloatPredicate predicate) Overrides org. Implements org. Doc from org. Returns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.
| |
| selectWithIndex | back to summary |
|---|---|
| public MutableFloatList selectWithIndex(FloatIntPredicate predicate) Overrides default org. Returns a new MutableFloatList including all elements with corresponding indexes matching the specified predicate.
| |
| selectWithIndex | back to summary |
|---|---|
| public <R extends MutableFloatCollection> R selectWithIndex(FloatIntPredicate predicate, R target) Overrides default org. Returns a new MutableFloatCollection including all elements with corresponding indexes matching the specified predicate.
| |
| set | back to summary |
|---|---|
| public float set(int index, float element) Implements org.
| |
| shuffleThis | back to summary |
|---|---|
| public MutableFloatList shuffleThis() Overrides default org. Doc from org. Randomly permutes this list mutating its contents and returns the same list (this).
Uses
| |
| shuffleThis | back to summary |
|---|---|
| public MutableFloatList shuffleThis(Random rnd) Overrides default org. Doc from org. Randomly permutes this list mutating its contents and returns the same list (this). Implements the Fisher-Yates shuffle algorithm using the provided source of randomness.
| |
| sortThis | back to summary |
|---|---|
| public MutableFloatList sortThis() Implements org. Doc from org. Sorts this list mutating its contents and returns the same mutable list (this).
| |
| sortThis | back to summary |
|---|---|
| public MutableFloatList sortThis(FloatComparator comparator) Overrides default org. Doc from org. Sorts the internal data structure of this list and returns the list itself as a convenience.
| |
| sortThisBy | back to summary |
|---|---|
| public <T> MutableFloatList sortThisBy(FloatToObjectFunction<T> function) Overrides default org. Doc from org. Sorts the internal data structure of this list based on the natural order of the key returned by
| |
| sortThisBy | back to summary |
|---|---|
| public <T> MutableFloatList sortThisBy(FloatToObjectFunction<T> function, Comparator<? super T> comparator) Overrides default org. Doc from org. Sorts the internal data structure of this list based on the key returned by
| |
| subList | back to summary |
|---|---|
| public MutableFloatList subList(int fromIndex, int toIndex) Implements org.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableFloatList toImmutable() Implements org. Doc from org. Returns an immutable copy of this list.
| |
| toReversed | back to summary |
|---|---|
| public MutableFloatList toReversed() Implements org.
| |
| toStack | back to summary |
|---|---|
| public MutableFloatStack toStack() Overrides default org. Doc from org. Converts the collection to a FloatStack.
| |
| with | back to summary |
|---|---|
| public SynchronizedFloatList with(float element) Overrides org. Implements org.
| |
| withAll | back to summary |
|---|---|
| public SynchronizedFloatList withAll(FloatIterable elements) Implements org.
| |
| without | back to summary |
|---|---|
| public SynchronizedFloatList without(float element) Implements org.
| |
| withoutAll | back to summary |
|---|---|
| public SynchronizedFloatList withoutAll(FloatIterable elements) Implements org.
| |
| zip | back to summary |
|---|---|
| public <T> MutableList Overrides default org. Doc from org. Returns a
| |
| zipFloat | back to summary |
|---|---|
| public MutableList Overrides default org. Doc from org. Returns a
| |