@NotThreadSafe public final class UnmodifiableFloatList extends AbstractUnmodifiableFloatCollection implements MutableFloatList
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 |
asReversed() |
MutableFloatList |
asSynchronized() |
MutableFloatList |
asUnmodifiable() |
int |
binarySearch(float value) |
<V> MutableList<V> |
collect(FloatToObjectFunction<? extends V> function) |
MutableFloatList |
distinct() |
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 |
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() |
UnmodifiableFloatList |
with(float element) |
UnmodifiableFloatList |
withAll(FloatIterable elements) |
UnmodifiableFloatList |
without(float element) |
UnmodifiableFloatList |
withoutAll(FloatIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, 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, asLazy, 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 UnmodifiableFloatList with(float element)
with
in interface MutableFloatCollection
with
in interface MutableFloatList
with
in class AbstractUnmodifiableFloatCollection
public UnmodifiableFloatList without(float element)
without
in interface MutableFloatCollection
without
in interface MutableFloatList
without
in class AbstractUnmodifiableFloatCollection
public UnmodifiableFloatList withAll(FloatIterable elements)
withAll
in interface MutableFloatCollection
withAll
in interface MutableFloatList
withAll
in class AbstractUnmodifiableFloatCollection
public UnmodifiableFloatList withoutAll(FloatIterable elements)
withoutAll
in interface MutableFloatCollection
withoutAll
in interface MutableFloatList
withoutAll
in class AbstractUnmodifiableFloatCollection
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 AbstractUnmodifiableFloatCollection
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 AbstractUnmodifiableFloatCollection
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 AbstractUnmodifiableFloatCollection
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 MutableFloatList asUnmodifiable()
asUnmodifiable
in interface MutableFloatCollection
asUnmodifiable
in interface MutableFloatList
asUnmodifiable
in class AbstractUnmodifiableFloatCollection
public MutableFloatList asSynchronized()
asSynchronized
in interface MutableFloatCollection
asSynchronized
in interface MutableFloatList
asSynchronized
in class AbstractUnmodifiableFloatCollection
public ImmutableFloatList toImmutable()
MutableFloatList
toImmutable
in interface MutableFloatCollection
toImmutable
in interface FloatList
toImmutable
in interface MutableFloatList
toImmutable
in class AbstractUnmodifiableFloatCollection
public MutableFloatList reverseThis()
reverseThis
in interface MutableFloatList
public MutableFloatList toReversed()
toReversed
in interface FloatList
toReversed
in interface MutableFloatList
toReversed
in interface ReversibleFloatIterable
public void forEachWithIndex(FloatIntProcedure procedure)
forEachWithIndex
in interface OrderedFloatIterable
public LazyFloatIterable asReversed()
asReversed
in interface ReversibleFloatIterable
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.