ByteIterable
, ByteSet
, ImmutableByteCollection
, PrimitiveIterable
AbstractImmutableByteSet
public interface ImmutableByteSet extends ImmutableByteCollection, ByteSet
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableSet<V> |
collect(ByteToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
ImmutableByteSet |
newWith(byte element) |
|
ImmutableByteSet |
newWithAll(ByteIterable elements) |
|
ImmutableByteSet |
newWithout(byte element) |
|
ImmutableByteSet |
newWithoutAll(ByteIterable elements) |
|
ImmutableByteSet |
reject(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return false for the specified predicate.
|
ImmutableByteSet |
select(BytePredicate predicate) |
Returns a new ByteIterable with all of the elements in the ByteIterable that
return true for the specified predicate.
|
default ImmutableByteSet |
tap(ByteProcedure procedure) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, byteIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
equals, freeze, hashCode, toImmutable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
ImmutableByteSet select(BytePredicate predicate)
ByteIterable
select
in interface ByteIterable
select
in interface ByteSet
select
in interface ImmutableByteCollection
ImmutableByteSet reject(BytePredicate predicate)
ByteIterable
reject
in interface ByteIterable
reject
in interface ByteSet
reject
in interface ImmutableByteCollection
default ImmutableByteSet tap(ByteProcedure procedure)
tap
in interface ByteIterable
tap
in interface ByteSet
tap
in interface ImmutableByteCollection
<V> ImmutableSet<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterable
collect
in interface ByteIterable
collect
in interface ByteSet
collect
in interface ImmutableByteCollection
ImmutableByteSet newWith(byte element)
newWith
in interface ImmutableByteCollection
ImmutableByteSet newWithout(byte element)
newWithout
in interface ImmutableByteCollection
ImmutableByteSet newWithAll(ByteIterable elements)
newWithAll
in interface ImmutableByteCollection
ImmutableByteSet newWithoutAll(ByteIterable elements)
newWithoutAll
in interface ImmutableByteCollection
Copyright © 2004–2019. All rights reserved.