FloatIterable
, OrderedFloatIterable
, PrimitiveIterable
, ReversibleFloatIterable
ImmutableFloatList
, MutableFloatList
FloatArrayList
, SynchronizedFloatList
, UnmodifiableFloatList
public interface FloatList extends ReversibleFloatIterable
Modifier and Type | Method | 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(java.lang.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() |
allSatisfy, 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, toSortedList
forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
float get(int index)
double dotProduct(FloatList list)
int binarySearch(float value)
int lastIndexOf(float value)
FloatList select(FloatPredicate predicate)
FloatIterable
select
in interface FloatIterable
select
in interface OrderedFloatIterable
select
in interface ReversibleFloatIterable
FloatList reject(FloatPredicate predicate)
FloatIterable
reject
in interface FloatIterable
reject
in interface OrderedFloatIterable
reject
in interface ReversibleFloatIterable
default FloatList tap(FloatProcedure procedure)
tap
in interface FloatIterable
<V> ListIterable<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterable
collect
in interface FloatIterable
collect
in interface OrderedFloatIterable
collect
in interface ReversibleFloatIterable
boolean equals(java.lang.Object o)
List.equals(Object)
.equals
in class java.lang.Object
int hashCode()
List.hashCode()
.hashCode
in class java.lang.Object
ImmutableFloatList toImmutable()
FloatList distinct()
distinct
in interface ReversibleFloatIterable
FloatList toReversed()
toReversed
in interface ReversibleFloatIterable
FloatList subList(int fromIndex, int toIndex)
List.subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.