public interface ImmutableByteSet extends ImmutableByteCollection, ByteSet
Modifier and Type | Method and 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.
|
equals, freeze, hashCode, toImmutable
allSatisfy, anySatisfy, asLazy, average, byteIterator, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
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
<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–2017. All rights reserved.