Top Description Methods
org.eclipse.collections.api.list.primitive

public Interface ImmutableByteList

extends ImmutableByteCollection, ByteList
Imports
org.eclipse.collections.api.ByteIterable, org.eclipse.collections.api.block.function.primitive.ByteIntToObjectFunction, .ByteToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.ByteIntPredicate, .BytePredicate, org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, org.eclipse.collections.api.collection.primitive.ImmutableByteCollection, org.eclipse.collections.api.list.ImmutableList, org.eclipse.collections.api.tuple.primitive.ByteBytePair, .ByteObjectPair

This file was automatically generated from template file immutablePrimitiveList.stg.
Since
3.0.

Method Summary

Modifier and TypeMethod and Description
public <V> ImmutableList<V>
collect(ByteToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.collect, org.eclipse.collections.api.list.primitive.ByteList.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection.

public default <V> ImmutableList<V>
collectWithIndex(ByteIntToObjectFunction<? extends V> function)

Overrides default org.eclipse.collections.api.list.primitive.ByteList.collectWithIndex.

Returns a new ImmutableList using results obtained by applying the specified function to each element and its corresponding index.

public ImmutableByteList
public ImmutableByteList
public ImmutableByteList
public ImmutableByteList
public ImmutableByteList
public ImmutableByteList
reject(BytePredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.reject, org.eclipse.collections.api.list.primitive.ByteList.reject.

Returns a new ByteIterable with all of the elements in the ByteIterable that return false for the specified predicate.

public default ImmutableByteList
rejectWithIndex(ByteIntPredicate predicate)

Overrides default org.eclipse.collections.api.list.primitive.ByteList.rejectWithIndex.

Returns a new ImmutableByteList excluding all elements with corresponding indexes matching the specified predicate.

public ImmutableByteList
select(BytePredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.select, org.eclipse.collections.api.list.primitive.ByteList.select.

Returns a new ByteIterable with all of the elements in the ByteIterable that return true for the specified predicate.

public default ImmutableByteList
selectWithIndex(ByteIntPredicate predicate)

Overrides default org.eclipse.collections.api.list.primitive.ByteList.selectWithIndex.

Returns a new ImmutableByteList including all elements with corresponding indexes matching the specified predicate.

public ImmutableByteList
public default ImmutableByteList
public ImmutableByteList
public default <T> ImmutableList<ByteObjectPair<T>>
zip(Iterable<T> iterable)

Overrides default org.eclipse.collections.api.list.primitive.ByteList.zip.

Returns an ImmutableList formed from this ImmutableByteList and a ListIterable by combining corresponding elements in pairs.

public default ImmutableList<ByteBytePair>
zipByte(ByteIterable iterable)

Overrides default org.eclipse.collections.api.list.primitive.ByteList.zipByte.

Returns an ImmutableList formed from this ImmutableByteList and another ByteList by combining corresponding elements in pairs.

Inherited from org.eclipse.collections.api.list.primitive.ByteList:
binarySearchdotProductequalsforEachInBothgethashCodelastIndexOftoImmutable

Method Detail

collectback to summary
public <V> ImmutableList<V> collect(ByteToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.collect, org.eclipse.collections.api.list.primitive.ByteList.collect.

Doc from org.eclipse.collections.api.ByteIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.

Annotations
@Override
collectWithIndexback to summary
public default <V> ImmutableList<V> collectWithIndex(ByteIntToObjectFunction<? extends V> function)

Overrides default org.eclipse.collections.api.list.primitive.ByteList.collectWithIndex.

Returns a new ImmutableList using results obtained by applying the specified function to each element and its corresponding index.

Annotations
@Override
Since
9.1.
distinctback to summary
public ImmutableByteList distinct()

Redeclares org.eclipse.collections.api.list.primitive.ByteList.distinct.

Annotations
@Override
Since
6.0.
newWithback to summary
public ImmutableByteList newWith(byte element)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.newWith.

Annotations
@Override
newWithAllback to summary
public ImmutableByteList newWithAll(ByteIterable elements)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.newWithAll.

Annotations
@Override
newWithoutback to summary
public ImmutableByteList newWithout(byte element)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.newWithout.

Annotations
@Override
newWithoutAllback to summary
public ImmutableByteList newWithoutAll(ByteIterable elements)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.newWithoutAll.

Annotations
@Override
rejectback to summary
public ImmutableByteList reject(BytePredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.reject, org.eclipse.collections.api.list.primitive.ByteList.reject.

Doc from org.eclipse.collections.api.ByteIterable.reject.

Returns a new ByteIterable with all of the elements in the ByteIterable that return false for the specified predicate.

Annotations
@Override
rejectWithIndexback to summary
public default ImmutableByteList rejectWithIndex(ByteIntPredicate predicate)

Overrides default org.eclipse.collections.api.list.primitive.ByteList.rejectWithIndex.

Returns a new ImmutableByteList excluding all elements with corresponding indexes matching the specified predicate.

Annotations
@Override
Since
11.1.
selectback to summary
public ImmutableByteList select(BytePredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.select, org.eclipse.collections.api.list.primitive.ByteList.select.

Doc from org.eclipse.collections.api.ByteIterable.select.

Returns a new ByteIterable with all of the elements in the ByteIterable that return true for the specified predicate.

Annotations
@Override
selectWithIndexback to summary
public default ImmutableByteList selectWithIndex(ByteIntPredicate predicate)

Overrides default org.eclipse.collections.api.list.primitive.ByteList.selectWithIndex.

Returns a new ImmutableByteList including all elements with corresponding indexes matching the specified predicate.

Annotations
@Override
Since
11.1.
subListback to summary
public ImmutableByteList subList(int fromIndex, int toIndex)

Redeclares org.eclipse.collections.api.list.primitive.ByteList.subList.

Annotations
@Override
tapback to summary
public default ImmutableByteList tap(ByteProcedure procedure)

Overrides default org.eclipse.collections.api.collection.primitive.ImmutableByteCollection.tap, org.eclipse.collections.api.list.primitive.ByteList.tap.

Annotations
@Override
Since
9.0.
toReversedback to summary
public ImmutableByteList toReversed()

Redeclares org.eclipse.collections.api.list.primitive.ByteList.toReversed.

Annotations
@Override
zipback to summary
public default <T> ImmutableList<ByteObjectPair<T>> zip(Iterable<T> iterable)

Overrides default org.eclipse.collections.api.list.primitive.ByteList.zip.

Returns an ImmutableList formed from this ImmutableByteList and a ListIterable by combining corresponding elements in pairs. If one of the two Lists is longer than the other, its remaining elements are ignored.

Since
9.1.
zipByteback to summary
public default ImmutableList<ByteBytePair> zipByte(ByteIterable iterable)

Overrides default org.eclipse.collections.api.list.primitive.ByteList.zipByte.

Returns an ImmutableList formed from this ImmutableByteList and another ByteList by combining corresponding elements in pairs. If one of the two ByteLists is longer than the other, its remaining elements are ignored.

Since
9.1.