@ThreadSafe public abstract class AbstractSynchronizedByteCollection extends Object implements org.eclipse.collections.api.collection.primitive.MutableByteCollection, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(byte newItem) |
boolean |
addAll(byte... source) |
boolean |
addAll(org.eclipse.collections.api.ByteIterable source) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyByteIterable |
asLazy() |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
asSynchronized() |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
asUnmodifiable() |
double |
average() |
org.eclipse.collections.api.iterator.MutableByteIterator |
byteIterator()
Must be called in a synchronized block.
|
void |
clear() |
<V> org.eclipse.collections.api.collection.MutableCollection<V> |
collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function) |
boolean |
contains(byte value) |
boolean |
containsAll(byte... source) |
boolean |
containsAll(org.eclipse.collections.api.ByteIterable source) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
byte |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate,
byte ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
byte |
max() |
byte |
maxIfEmpty(byte defaultValue) |
double |
median() |
byte |
min() |
byte |
minIfEmpty(byte defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
boolean |
notEmpty() |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
boolean |
remove(byte value) |
boolean |
removeAll(byte... source) |
boolean |
removeAll(org.eclipse.collections.api.ByteIterable source) |
boolean |
retainAll(byte... source) |
boolean |
retainAll(org.eclipse.collections.api.ByteIterable source) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
int |
size() |
long |
sum() |
byte[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableByteBag |
toBag() |
org.eclipse.collections.api.collection.primitive.ImmutableByteCollection |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableByteList |
toList() |
org.eclipse.collections.api.set.primitive.MutableByteSet |
toSet() |
byte[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableByteList |
toSortedList() |
String |
toString() |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
with(byte element) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
withAll(org.eclipse.collections.api.ByteIterable elements) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
without(byte element) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
withoutAll(org.eclipse.collections.api.ByteIterable elements) |
public int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic void clear()
clear in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic org.eclipse.collections.api.collection.primitive.MutableByteCollection select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
select in interface org.eclipse.collections.api.ByteIterableselect in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic org.eclipse.collections.api.collection.primitive.MutableByteCollection reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
reject in interface org.eclipse.collections.api.ByteIterablereject in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic <V> org.eclipse.collections.api.collection.MutableCollection<V> collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.ByteIterablecollect in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic org.eclipse.collections.api.collection.primitive.MutableByteCollection with(byte element)
with in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic org.eclipse.collections.api.collection.primitive.MutableByteCollection without(byte element)
without in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic org.eclipse.collections.api.collection.primitive.MutableByteCollection withAll(org.eclipse.collections.api.ByteIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic org.eclipse.collections.api.collection.primitive.MutableByteCollection withoutAll(org.eclipse.collections.api.ByteIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic org.eclipse.collections.api.collection.primitive.MutableByteCollection asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic org.eclipse.collections.api.collection.primitive.MutableByteCollection asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic org.eclipse.collections.api.collection.primitive.ImmutableByteCollection toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic org.eclipse.collections.api.LazyByteIterable asLazy()
asLazy in interface org.eclipse.collections.api.ByteIterablepublic boolean contains(byte value)
contains in interface org.eclipse.collections.api.ByteIterablepublic boolean containsAll(byte... source)
containsAll in interface org.eclipse.collections.api.ByteIterablepublic boolean containsAll(org.eclipse.collections.api.ByteIterable source)
containsAll in interface org.eclipse.collections.api.ByteIterablepublic boolean add(byte newItem)
add in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic boolean addAll(byte... source)
addAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic boolean addAll(org.eclipse.collections.api.ByteIterable source)
addAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic boolean remove(byte value)
remove in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic boolean removeAll(org.eclipse.collections.api.ByteIterable source)
removeAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic boolean removeAll(byte... source)
removeAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic boolean retainAll(org.eclipse.collections.api.ByteIterable source)
retainAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic boolean retainAll(byte... source)
retainAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic org.eclipse.collections.api.iterator.MutableByteIterator byteIterator()
byteIterator in interface org.eclipse.collections.api.ByteIterablebyteIterator in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionpublic void forEach(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure)
forEach in interface org.eclipse.collections.api.ByteIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure)
each in interface org.eclipse.collections.api.ByteIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
count in interface org.eclipse.collections.api.ByteIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
anySatisfy in interface org.eclipse.collections.api.ByteIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
allSatisfy in interface org.eclipse.collections.api.ByteIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.ByteIterablepublic byte detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate,
byte ifNone)
detectIfNone in interface org.eclipse.collections.api.ByteIterablepublic long sum()
sum in interface org.eclipse.collections.api.ByteIterablepublic byte max()
max in interface org.eclipse.collections.api.ByteIterablepublic byte min()
min in interface org.eclipse.collections.api.ByteIterablepublic byte minIfEmpty(byte defaultValue)
minIfEmpty in interface org.eclipse.collections.api.ByteIterablepublic byte maxIfEmpty(byte defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.ByteIterablepublic double average()
average in interface org.eclipse.collections.api.ByteIterablepublic double median()
median in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.list.primitive.MutableByteList toSortedList()
toSortedList in interface org.eclipse.collections.api.ByteIterablepublic byte[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.ByteIterablepublic byte[] toArray()
toArray in interface org.eclipse.collections.api.ByteIterablepublic String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.list.primitive.MutableByteList toList()
toList in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.set.primitive.MutableByteSet toSet()
toSet in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.bag.primitive.MutableByteBag toBag()
toBag in interface org.eclipse.collections.api.ByteIterablepublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.ByteIterableCopyright © 2004–2018. All rights reserved.