public interface ImmutableIntList extends ImmutableIntCollection, IntList
| Modifier and Type | Method and 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() |
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf, toImmutableasReversed, getLast, injectIntoWithIndexforEachWithIndex, getFirst, indexOfallSatisfy, 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringImmutableIntList select(IntPredicate predicate)
IntIterableselect in interface ImmutableIntCollectionselect in interface IntIterableselect in interface IntListselect in interface OrderedIntIterableselect in interface ReversibleIntIterableImmutableIntList reject(IntPredicate predicate)
IntIterablereject in interface ImmutableIntCollectionreject in interface IntIterablereject in interface IntListreject in interface OrderedIntIterablereject in interface ReversibleIntIterabledefault ImmutableIntList tap(IntProcedure procedure)
tap in interface ImmutableIntCollectiontap in interface IntIterabletap in interface IntList<V> ImmutableList<V> collect(IntToObjectFunction<? extends V> function)
IntIterablecollect in interface ImmutableIntCollectioncollect in interface IntIterablecollect in interface IntListcollect in interface OrderedIntIterablecollect in interface ReversibleIntIterableImmutableIntList newWith(int element)
newWith in interface ImmutableIntCollectionImmutableIntList newWithout(int element)
newWithout in interface ImmutableIntCollectionImmutableIntList newWithAll(IntIterable elements)
newWithAll in interface ImmutableIntCollectionImmutableIntList newWithoutAll(IntIterable elements)
newWithoutAll in interface ImmutableIntCollectionImmutableIntList toReversed()
toReversed in interface IntListtoReversed in interface ReversibleIntIterableImmutableIntList distinct()
distinct in interface IntListdistinct in interface ReversibleIntIterableImmutableIntList subList(int fromIndex, int toIndex)
subList in interface IntListList.subList(int fromIndex, int toIndex)Copyright © 2004–2017. All rights reserved.