ImmutableIntCollection
, IntIterable
, IntList
, OrderedIntIterable
, PrimitiveIterable
, ReversibleIntIterable
CodePointAdapter
, CodePointList
, IntInterval
public interface ImmutableIntList extends ImmutableIntCollection, IntList
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableList<V> |
collect(IntToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
ImmutableIntList |
distinct() |
|
ImmutableIntList |
newWith(int element) |
|
ImmutableIntList |
newWithAll(IntIterable elements) |
|
ImmutableIntList |
newWithout(int element) |
|
ImmutableIntList |
newWithoutAll(IntIterable elements) |
|
ImmutableIntList |
reject(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return false for the specified predicate.
|
ImmutableIntList |
select(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return true for the specified predicate.
|
ImmutableIntList |
subList(int fromIndex,
int toIndex) |
|
default ImmutableIntList |
tap(IntProcedure procedure) |
|
ImmutableIntList |
toReversed() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, intIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf, toImmutable
forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
ImmutableIntList select(IntPredicate predicate)
IntIterable
select
in interface ImmutableIntCollection
select
in interface IntIterable
select
in interface IntList
select
in interface OrderedIntIterable
select
in interface ReversibleIntIterable
ImmutableIntList reject(IntPredicate predicate)
IntIterable
reject
in interface ImmutableIntCollection
reject
in interface IntIterable
reject
in interface IntList
reject
in interface OrderedIntIterable
reject
in interface ReversibleIntIterable
default ImmutableIntList tap(IntProcedure procedure)
tap
in interface ImmutableIntCollection
tap
in interface IntIterable
tap
in interface IntList
<V> ImmutableList<V> collect(IntToObjectFunction<? extends V> function)
IntIterable
collect
in interface ImmutableIntCollection
collect
in interface IntIterable
collect
in interface IntList
collect
in interface OrderedIntIterable
collect
in interface ReversibleIntIterable
ImmutableIntList newWith(int element)
newWith
in interface ImmutableIntCollection
ImmutableIntList newWithout(int element)
newWithout
in interface ImmutableIntCollection
ImmutableIntList newWithAll(IntIterable elements)
newWithAll
in interface ImmutableIntCollection
ImmutableIntList newWithoutAll(IntIterable elements)
newWithoutAll
in interface ImmutableIntCollection
ImmutableIntList toReversed()
toReversed
in interface IntList
toReversed
in interface ReversibleIntIterable
ImmutableIntList distinct()
distinct
in interface IntList
distinct
in interface ReversibleIntIterable
ImmutableIntList subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.