public interface FloatList extends ReversibleFloatIterable
| Modifier and Type | Method and Description |
|---|---|
int |
binarySearch(float value) |
<V> ListIterable<V> |
collect(FloatToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
FloatList |
distinct() |
double |
dotProduct(FloatList list) |
boolean |
equals(Object o)
Follows the same general contract as
List.equals(Object). |
float |
get(int index) |
int |
hashCode()
Follows the same general contract as
List.hashCode(). |
int |
lastIndexOf(float value) |
FloatList |
reject(FloatPredicate predicate)
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
FloatList |
select(FloatPredicate predicate)
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
FloatList |
subList(int fromIndex,
int toIndex) |
default FloatList |
tap(FloatProcedure procedure) |
ImmutableFloatList |
toImmutable()
Returns an immutable copy of this list.
|
FloatList |
toReversed() |
asReversed, getLast, injectIntoWithIndexforEachWithIndex, getFirst, indexOfallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, floatIterator, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringfloat get(int index)
double dotProduct(FloatList list)
int binarySearch(float value)
int lastIndexOf(float value)
FloatList select(FloatPredicate predicate)
FloatIterableselect in interface FloatIterableselect in interface OrderedFloatIterableselect in interface ReversibleFloatIterableFloatList reject(FloatPredicate predicate)
FloatIterablereject in interface FloatIterablereject in interface OrderedFloatIterablereject in interface ReversibleFloatIterabledefault FloatList tap(FloatProcedure procedure)
tap in interface FloatIterable<V> ListIterable<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterablecollect in interface FloatIterablecollect in interface OrderedFloatIterablecollect in interface ReversibleFloatIterableboolean equals(Object o)
List.equals(Object).int hashCode()
List.hashCode().ImmutableFloatList toImmutable()
FloatList distinct()
distinct in interface ReversibleFloatIterableFloatList toReversed()
toReversed in interface ReversibleFloatIterableFloatList subList(int fromIndex, int toIndex)
List.subList(int fromIndex, int toIndex)Copyright © 2004–2017. All rights reserved.