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

public Interface ImmutableByteCollection

extends ByteIterable
Known Direct Subinterfaces
org.eclipse.collections.api.list.primitive.ImmutableByteList, org.eclipse.collections.api.set.primitive.ImmutableByteSet, org.eclipse.collections.api.bag.primitive.ImmutableByteBag
Imports
org.eclipse.collections.api.ByteIterable, org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.BytePredicate, org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, org.eclipse.collections.api.collection.ImmutableCollection

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

Method Summary

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

Redeclares 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.

public ImmutableByteCollection
newWith(byte element)

public ImmutableByteCollection
public ImmutableByteCollection
newWithout(byte element)

public ImmutableByteCollection
public ImmutableByteCollection
reject(BytePredicate predicate)

Redeclares 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.

public ImmutableByteCollection
select(BytePredicate predicate)

Redeclares 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.

public default ImmutableByteCollection
Inherited from org.eclipse.collections.api.ByteIterable:
allSatisfyanySatisfyasLazyaverageaverageIfEmptybyteIteratorchunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachflatCollectforEachinjectIntoinjectIntoBooleaninjectIntoByteinjectIntoCharinjectIntoDoubleinjectIntoFloatinjectIntoIntinjectIntoLonginjectIntoShortmaxmaxIfEmptymedianmedianIfEmptyminminIfEmptynoneSatisfyreducereduceIfEmptyrejectselectsumsummaryStatisticstoArraytoArraytoBagtoListtoSettoSortedArraytoSortedListtoSortedListtoSortedListBytoSortedListBy

Method Detail

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

Redeclares org.eclipse.collections.api.ByteIterable.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
newWithback to summary
public ImmutableByteCollection newWith(byte element)
newWithAllback to summary
public ImmutableByteCollection newWithAll(ByteIterable elements)
newWithoutback to summary
public ImmutableByteCollection newWithout(byte element)
newWithoutAllback to summary
public ImmutableByteCollection newWithoutAll(ByteIterable elements)
rejectback to summary
public ImmutableByteCollection reject(BytePredicate predicate)

Redeclares org.eclipse.collections.api.ByteIterable.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
selectback to summary
public ImmutableByteCollection select(BytePredicate predicate)

Redeclares org.eclipse.collections.api.ByteIterable.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
tapback to summary
public default ImmutableByteCollection tap(ByteProcedure procedure)

Overrides default org.eclipse.collections.api.ByteIterable.tap.

Annotations
@Override
Since
9.0.