@NotThreadSafe public final class UnmodifiableFloatList extends AbstractUnmodifiableFloatCollection implements com.gs.collections.api.list.primitive.MutableFloatList
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
float... source) |
boolean |
addAllAtIndex(int index,
com.gs.collections.api.FloatIterable source) |
void |
addAtIndex(int index,
float element) |
com.gs.collections.api.LazyFloatIterable |
asLazy() |
com.gs.collections.api.list.primitive.MutableFloatList |
asSynchronized() |
com.gs.collections.api.list.primitive.MutableFloatList |
asUnmodifiable() |
<V> com.gs.collections.api.list.MutableList<V> |
collect(com.gs.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function) |
double |
dotProduct(com.gs.collections.api.list.primitive.FloatList list) |
boolean |
equals(java.lang.Object otherList)
Follows the same general contract as
List.equals(Object). |
float |
get(int index) |
float |
getFirst() |
float |
getLast() |
int |
hashCode()
Follows the same general contract as
List.hashCode(). |
int |
indexOf(float value) |
int |
lastIndexOf(float value) |
com.gs.collections.api.list.primitive.MutableFloatList |
reject(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
float |
removeAtIndex(int index) |
com.gs.collections.api.list.primitive.MutableFloatList |
reverseThis() |
com.gs.collections.api.list.primitive.MutableFloatList |
select(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
float |
set(int index,
float element) |
com.gs.collections.api.list.primitive.MutableFloatList |
sortThis()
Sorts this list mutating its contents and returns the same mutable list (this).
|
com.gs.collections.api.list.primitive.ImmutableFloatList |
toImmutable()
Returns an immutable copy of this list.
|
com.gs.collections.api.list.primitive.MutableFloatList |
toReversed() |
UnmodifiableFloatList |
with(float element) |
UnmodifiableFloatList |
withAll(com.gs.collections.api.FloatIterable elements) |
UnmodifiableFloatList |
without(float element) |
UnmodifiableFloatList |
withoutAll(com.gs.collections.api.FloatIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, floatIterator, forEach, getFloatCollection, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, remove, removeAll, removeAllallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, floatIterator, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic float get(int index)
get in interface com.gs.collections.api.list.primitive.FloatListpublic float getFirst()
getFirst in interface com.gs.collections.api.list.primitive.FloatListpublic float getLast()
getLast in interface com.gs.collections.api.list.primitive.FloatListpublic int indexOf(float value)
indexOf in interface com.gs.collections.api.list.primitive.FloatListpublic int lastIndexOf(float value)
lastIndexOf in interface com.gs.collections.api.list.primitive.FloatListpublic void addAtIndex(int index,
float element)
addAtIndex in interface com.gs.collections.api.list.primitive.MutableFloatListpublic boolean addAllAtIndex(int index,
float... source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableFloatListpublic boolean addAllAtIndex(int index,
com.gs.collections.api.FloatIterable source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableFloatListpublic float removeAtIndex(int index)
removeAtIndex in interface com.gs.collections.api.list.primitive.MutableFloatListpublic float set(int index,
float element)
set in interface com.gs.collections.api.list.primitive.MutableFloatListpublic UnmodifiableFloatList with(float element)
with in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwith in interface com.gs.collections.api.list.primitive.MutableFloatListwith in class AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatList without(float element)
without in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwithout in interface com.gs.collections.api.list.primitive.MutableFloatListwithout in class AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatList withAll(com.gs.collections.api.FloatIterable elements)
withAll in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwithAll in interface com.gs.collections.api.list.primitive.MutableFloatListwithAll in class AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatList withoutAll(com.gs.collections.api.FloatIterable elements)
withoutAll in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwithoutAll in interface com.gs.collections.api.list.primitive.MutableFloatListwithoutAll in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.list.primitive.MutableFloatList select(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
select in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionselect in interface com.gs.collections.api.FloatIterableselect in interface com.gs.collections.api.list.primitive.FloatListselect in interface com.gs.collections.api.list.primitive.MutableFloatListselect in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.list.primitive.MutableFloatList reject(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
reject in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionreject in interface com.gs.collections.api.FloatIterablereject in interface com.gs.collections.api.list.primitive.FloatListreject in interface com.gs.collections.api.list.primitive.MutableFloatListreject in class AbstractUnmodifiableFloatCollectionpublic <V> com.gs.collections.api.list.MutableList<V> collect(com.gs.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.collection.primitive.MutableFloatCollectioncollect in interface com.gs.collections.api.FloatIterablecollect in interface com.gs.collections.api.list.primitive.FloatListcollect in interface com.gs.collections.api.list.primitive.MutableFloatListcollect in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.list.primitive.MutableFloatList sortThis()
com.gs.collections.api.list.primitive.MutableFloatListsortThis in interface com.gs.collections.api.list.primitive.MutableFloatListpublic double dotProduct(com.gs.collections.api.list.primitive.FloatList list)
dotProduct in interface com.gs.collections.api.list.primitive.FloatListpublic boolean equals(java.lang.Object otherList)
com.gs.collections.api.list.primitive.FloatListList.equals(Object).equals in interface com.gs.collections.api.list.primitive.FloatListequals in class java.lang.Objectpublic int hashCode()
com.gs.collections.api.list.primitive.FloatListList.hashCode().hashCode in interface com.gs.collections.api.list.primitive.FloatListhashCode in class java.lang.Objectpublic com.gs.collections.api.LazyFloatIterable asLazy()
asLazy in interface com.gs.collections.api.FloatIterableasLazy in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.list.primitive.MutableFloatList asUnmodifiable()
asUnmodifiable in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionasUnmodifiable in interface com.gs.collections.api.list.primitive.MutableFloatListasUnmodifiable in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.list.primitive.MutableFloatList asSynchronized()
asSynchronized in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionasSynchronized in interface com.gs.collections.api.list.primitive.MutableFloatListasSynchronized in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.list.primitive.ImmutableFloatList toImmutable()
com.gs.collections.api.list.primitive.MutableFloatListtoImmutable in interface com.gs.collections.api.collection.primitive.MutableFloatCollectiontoImmutable in interface com.gs.collections.api.list.primitive.FloatListtoImmutable in interface com.gs.collections.api.list.primitive.MutableFloatListtoImmutable in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.list.primitive.MutableFloatList reverseThis()
reverseThis in interface com.gs.collections.api.list.primitive.MutableFloatListpublic com.gs.collections.api.list.primitive.MutableFloatList toReversed()
toReversed in interface com.gs.collections.api.list.primitive.MutableFloatList