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

public Interface ByteValuesMap

extends ByteIterable
Known Direct Subinterfaces
org.eclipse.collections.api.map.primitive.CharByteMap, org.eclipse.collections.api.map.primitive.ByteByteMap, org.eclipse.collections.api.map.primitive.ShortByteMap, org.eclipse.collections.api.map.primitive.IntByteMap, org.eclipse.collections.api.map.primitive.MutableByteValuesMap, org.eclipse.collections.api.map.primitive.LongByteMap, org.eclipse.collections.api.map.primitive.FloatByteMap, org.eclipse.collections.api.map.primitive.DoubleByteMap
Imports
org.eclipse.collections.api.ByteIterable, org.eclipse.collections.api.bag.Bag, org.eclipse.collections.api.bag.primitive.ByteBag, 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.primitive.MutableByteCollection

This file was automatically generated from template file primitiveValuesMap.stg.
Since
6.0.

Method Summary

Modifier and TypeMethod and Description
public <V> Bag<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 boolean

Returns:

if this collection contains the value
containsValue
(byte
the value to test
value
)

Returns whether or not this map contains the value.

public void
forEachValue(ByteProcedure
the procedure to invoke for each value in this map.
procedure
)

Iterates through each value in this map.

public ByteBag
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 ByteBag
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 ByteValuesMap
public MutableByteCollection

Returns:

the values as a collection backed by this map
values
()

Returns the values in this map as a separate collection.

Inherited from org.eclipse.collections.api.ByteIterable:
allSatisfyanySatisfyasLazyaverageaverageIfEmptybyteIteratorchunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachflatCollectforEachinjectIntoinjectIntoBooleaninjectIntoByteinjectIntoCharinjectIntoDoubleinjectIntoFloatinjectIntoIntinjectIntoLonginjectIntoShortmaxmaxIfEmptymedianmedianIfEmptyminminIfEmptynoneSatisfyreducereduceIfEmptyrejectselectsumsummaryStatisticstoArraytoArraytoBagtoListtoSettoSortedArraytoSortedListtoSortedListtoSortedListBytoSortedListBy

Method Detail

collectback to summary
public <V> Bag<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
containsValueback to summary
public boolean containsValue(byte value)

Returns whether or not this map contains the value.

Parameters
value:byte

the value to test

Returns:boolean

if this collection contains the value

forEachValueback to summary
public void forEachValue(ByteProcedure procedure)

Iterates through each value in this map.

Parameters
procedure:ByteProcedure

the procedure to invoke for each value in this map.

rejectback to summary
public ByteBag 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 ByteBag 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 ByteValuesMap tap(ByteProcedure procedure)

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

Annotations
@Override
Since
9.0.
valuesback to summary
public MutableByteCollection values()

Returns the values in this map as a separate collection. The returned collection is backed by the map, so any changes made to the returned collection will affect the state of this map.

Returns:MutableByteCollection

the values as a collection backed by this map