@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 |
asReversed() |
com.gs.collections.api.list.primitive.MutableFloatList |
asSynchronized() |
com.gs.collections.api.list.primitive.MutableFloatList |
asUnmodifiable() |
int |
binarySearch(float value) |
<V> com.gs.collections.api.list.MutableList<V> |
collect(com.gs.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function) |
com.gs.collections.api.list.primitive.MutableFloatList |
distinct() |
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). |
void |
forEachWithIndex(com.gs.collections.api.block.procedure.primitive.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,
com.gs.collections.api.block.function.primitive.ObjectFloatIntToObjectFunction<? super T,? extends T> function) |
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.MutableFloatList |
subList(int fromIndex,
int toIndex) |
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, asLazy, average, clear, contains, containsAll, containsAll, count, detectIfNone, each, floatIterator, forEach, getFloatCollection, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, floatIterator, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, 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.ordered.primitive.OrderedFloatIterablepublic float getLast()
getLast in interface com.gs.collections.api.ordered.primitive.ReversibleFloatIterablepublic int indexOf(float value)
indexOf in interface com.gs.collections.api.ordered.primitive.OrderedFloatIterablepublic 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 interface com.gs.collections.api.ordered.primitive.OrderedFloatIterableselect in interface com.gs.collections.api.ordered.primitive.ReversibleFloatIterableselect 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 interface com.gs.collections.api.ordered.primitive.OrderedFloatIterablereject in interface com.gs.collections.api.ordered.primitive.ReversibleFloatIterablereject 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 interface com.gs.collections.api.ordered.primitive.OrderedFloatIterablecollect in interface com.gs.collections.api.ordered.primitive.ReversibleFloatIterablecollect 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 int binarySearch(float value)
binarySearch in interface com.gs.collections.api.list.primitive.FloatListpublic 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.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.FloatListtoReversed in interface com.gs.collections.api.list.primitive.MutableFloatListtoReversed in interface com.gs.collections.api.ordered.primitive.ReversibleFloatIterablepublic void forEachWithIndex(com.gs.collections.api.block.procedure.primitive.FloatIntProcedure procedure)
forEachWithIndex in interface com.gs.collections.api.ordered.primitive.OrderedFloatIterablepublic com.gs.collections.api.LazyFloatIterable asReversed()
asReversed in interface com.gs.collections.api.ordered.primitive.ReversibleFloatIterablepublic <T> T injectIntoWithIndex(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectFloatIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface com.gs.collections.api.ordered.primitive.OrderedFloatIterableinjectIntoWithIndex in interface com.gs.collections.api.ordered.primitive.ReversibleFloatIterablepublic com.gs.collections.api.list.primitive.MutableFloatList distinct()
distinct in interface com.gs.collections.api.list.primitive.FloatListdistinct in interface com.gs.collections.api.list.primitive.MutableFloatListdistinct in interface com.gs.collections.api.ordered.primitive.ReversibleFloatIterablepublic com.gs.collections.api.list.primitive.MutableFloatList subList(int fromIndex,
int toIndex)
subList in interface com.gs.collections.api.list.primitive.FloatListsubList in interface com.gs.collections.api.list.primitive.MutableFloatListList#subList(int fromIndex, int toIndex)}