public class ByteObjectHashMap<V> extends Object implements MutableByteObjectMap<V>, Externalizable
| Constructor and Description |
|---|
ByteObjectHashMap() |
ByteObjectHashMap(ByteObjectMap<? extends V> map) |
ByteObjectHashMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
<K,VV> MutableMap<K,VV> |
aggregateInPlaceBy(Function<? super V,? extends K> groupBy,
Function0<? extends VV> zeroValueFactory,
Procedure2<? super VV,? super V> mutatingAggregator) |
boolean |
allSatisfy(Predicate<? super V> predicate) |
<P> boolean |
allSatisfyWith(Predicate2<? super V,? super P> predicate,
P parameter) |
boolean |
anySatisfy(Predicate<? super V> predicate) |
<P> boolean |
anySatisfyWith(Predicate2<? super V,? super P> predicate,
P parameter) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
LazyIterable<V> |
asLazy() |
MutableByteObjectMap<V> |
asSynchronized() |
MutableByteObjectMap<V> |
asUnmodifiable() |
RichIterable<RichIterable<V>> |
chunk(int size) |
void |
clear() |
<VV> MutableBag<VV> |
collect(Function<? super V,? extends VV> function) |
<VV,R extends Collection<VV>> |
collect(Function<? super V,? extends VV> function,
R target) |
MutableBooleanBag |
collectBoolean(BooleanFunction<? super V> booleanFunction) |
MutableByteBag |
collectByte(ByteFunction<? super V> byteFunction) |
MutableCharBag |
collectChar(CharFunction<? super V> charFunction) |
MutableDoubleBag |
collectDouble(DoubleFunction<? super V> doubleFunction) |
MutableFloatBag |
collectFloat(FloatFunction<? super V> floatFunction) |
<VV> MutableBag<VV> |
collectIf(Predicate<? super V> predicate,
Function<? super V,? extends VV> function) |
<VV,R extends Collection<VV>> |
collectIf(Predicate<? super V> predicate,
Function<? super V,? extends VV> function,
R target) |
MutableIntBag |
collectInt(IntFunction<? super V> intFunction) |
MutableLongBag |
collectLong(LongFunction<? super V> longFunction) |
MutableShortBag |
collectShort(ShortFunction<? super V> shortFunction) |
<P,VV> MutableBag<VV> |
collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<P,VV,R extends Collection<VV>> |
collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter,
R targetCollection) |
void |
compact()
Rehashes every element in the set into a new backing table of the smallest possible size and eliminating removed sentinels.
|
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> source) |
boolean |
containsAllArguments(Object... elements) |
boolean |
containsAllIterable(Iterable<?> source) |
boolean |
containsKey(byte key) |
boolean |
containsValue(Object value) |
int |
count(Predicate<? super V> predicate) |
<P> int |
countWith(Predicate2<? super V,? super P> predicate,
P parameter) |
V |
detect(Predicate<? super V> predicate) |
V |
detectIfNone(Predicate<? super V> predicate,
Function0<? extends V> function) |
Optional<V> |
detectOptional(Predicate<? super V> predicate) |
<P> V |
detectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<P> V |
detectWithIfNone(Predicate2<? super V,? super P> predicate,
P parameter,
Function0<? extends V> function) |
<P> Optional<V> |
detectWithOptional(Predicate2<? super V,? super P> predicate,
P parameter) |
void |
each(Procedure<? super V> procedure) |
boolean |
equals(Object obj) |
<VV> MutableBag<VV> |
flatCollect(Function<? super V,? extends Iterable<VV>> function) |
<VV,R extends Collection<VV>> |
flatCollect(Function<? super V,? extends Iterable<VV>> function,
R target) |
MutableObjectByteMap<V> |
flipUniqueValues() |
void |
forEachKey(ByteProcedure procedure) |
void |
forEachKeyValue(ByteObjectProcedure<? super V> procedure) |
void |
forEachValue(Procedure<? super V> procedure) |
<P> void |
forEachWith(Procedure2<? super V,? super P> procedure,
P parameter) |
void |
forEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure) |
V |
get(byte key) |
V |
getFirst() |
V |
getIfAbsent(byte key,
Function0<? extends V> ifAbsent) |
V |
getIfAbsentPut(byte key,
Function0<? extends V> function) |
V |
getIfAbsentPut(byte key,
V value) |
<P> V |
getIfAbsentPutWith(byte key,
Function<? super P,? extends V> function,
P parameter) |
V |
getIfAbsentPutWithKey(byte key,
ByteToObjectFunction<? extends V> function) |
V |
getLast() |
V |
getOnly() |
<VV> MutableBagMultimap<VV,V> |
groupBy(Function<? super V,? extends VV> function) |
<VV,R extends MutableMultimap<VV,V>> |
groupBy(Function<? super V,? extends VV> function,
R target) |
<VV> MutableBagMultimap<VV,V> |
groupByEach(Function<? super V,? extends Iterable<VV>> function) |
<VV,R extends MutableMultimap<VV,V>> |
groupByEach(Function<? super V,? extends Iterable<VV>> function,
R target) |
<VV> MutableMap<VV,V> |
groupByUniqueKey(Function<? super V,? extends VV> function) |
<VV,R extends MutableMapIterable<VV,V>> |
groupByUniqueKey(Function<? super V,? extends VV> function,
R target) |
int |
hashCode() |
double |
injectInto(double injectedValue,
DoubleObjectToDoubleFunction<? super V> function) |
float |
injectInto(float injectedValue,
FloatObjectToFloatFunction<? super V> function) |
int |
injectInto(int injectedValue,
IntObjectToIntFunction<? super V> function) |
<IV> IV |
injectInto(IV injectedValue,
Function2<? super IV,? super V,? extends IV> function) |
long |
injectInto(long injectedValue,
LongObjectToLongFunction<? super V> function) |
<R extends Collection<V>> |
into(R target) |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
MutableByteSet |
keySet() |
LazyByteIterable |
keysView() |
RichIterable<ByteObjectPair<V>> |
keyValuesView() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
V |
max() |
V |
max(Comparator<? super V> comparator) |
<VV extends Comparable<? super VV>> |
maxBy(Function<? super V,? extends VV> function) |
V |
min() |
V |
min(Comparator<? super V> comparator) |
<VV extends Comparable<? super VV>> |
minBy(Function<? super V,? extends VV> function) |
static <V> ByteObjectHashMap<V> |
newMap() |
static <V> ByteObjectHashMap<V> |
newMap(ByteObjectMap<? extends V> map) |
static <V> ByteObjectHashMap<V> |
newWithKeysValues(byte key,
V value) |
static <V> ByteObjectHashMap<V> |
newWithKeysValues(byte key1,
V value1,
byte key2,
V value2) |
static <V> ByteObjectHashMap<V> |
newWithKeysValues(byte key1,
V value1,
byte key2,
V value2,
byte key3,
V value3) |
static <V> ByteObjectHashMap<V> |
newWithKeysValues(byte key1,
V value1,
byte key2,
V value2,
byte key3,
V value3,
byte key4,
V value4) |
boolean |
noneSatisfy(Predicate<? super V> predicate) |
<P> boolean |
noneSatisfyWith(Predicate2<? super V,? super P> predicate,
P parameter) |
boolean |
notEmpty() |
PartitionMutableBag<V> |
partition(Predicate<? super V> predicate) |
<P> PartitionMutableBag<V> |
partitionWith(Predicate2<? super V,? super P> predicate,
P parameter) |
V |
put(byte key,
V value) |
void |
putAll(ByteObjectMap<? extends V> map) |
void |
readExternal(ObjectInput in) |
ByteObjectHashMap<V> |
reject(ByteObjectPredicate<? super V> predicate) |
MutableBag<V> |
reject(Predicate<? super V> predicate) |
<R extends Collection<V>> |
reject(Predicate<? super V> predicate,
R target) |
<P> MutableBag<V> |
rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<P,R extends Collection<V>> |
rejectWith(Predicate2<? super V,? super P> predicate,
P parameter,
R targetCollection) |
V |
remove(byte key) |
V |
removeKey(byte key) |
ByteObjectHashMap<V> |
select(ByteObjectPredicate<? super V> predicate) |
MutableBag<V> |
select(Predicate<? super V> predicate) |
<R extends Collection<V>> |
select(Predicate<? super V> predicate,
R target) |
<S> MutableBag<S> |
selectInstancesOf(Class<S> clazz) |
<P> MutableBag<V> |
selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<P,R extends Collection<V>> |
selectWith(Predicate2<? super V,? super P> predicate,
P parameter,
R targetCollection) |
int |
size() |
<V1> MutableObjectDoubleMap<V1> |
sumByDouble(Function<? super V,? extends V1> groupBy,
DoubleFunction<? super V> function) |
<V1> MutableObjectDoubleMap<V1> |
sumByFloat(Function<? super V,? extends V1> groupBy,
FloatFunction<? super V> function) |
<V1> MutableObjectLongMap<V1> |
sumByInt(Function<? super V,? extends V1> groupBy,
IntFunction<? super V> function) |
<V1> MutableObjectLongMap<V1> |
sumByLong(Function<? super V,? extends V1> groupBy,
LongFunction<? super V> function) |
double |
sumOfDouble(DoubleFunction<? super V> function) |
double |
sumOfFloat(FloatFunction<? super V> function) |
long |
sumOfInt(IntFunction<? super V> function) |
long |
sumOfLong(LongFunction<? super V> function) |
ByteObjectHashMap<V> |
tap(Procedure<? super V> procedure) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
MutableBag<V> |
toBag() |
<NK,NV> MutableBiMap<NK,NV> |
toBiMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
ImmutableByteObjectMap<V> |
toImmutable() |
MutableList<V> |
toList() |
<NK,NV> MutableMap<NK,NV> |
toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
MutableSet<V> |
toSet() |
MutableSortedBag<V> |
toSortedBag() |
MutableSortedBag<V> |
toSortedBag(Comparator<? super V> comparator) |
<NK,NV> MutableSortedMap<NK,NV> |
toSortedMap(Comparator<? super NK> comparator,
Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
<NK,NV> MutableSortedMap<NK,NV> |
toSortedMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
MutableSortedSet<V> |
toSortedSet() |
MutableSortedSet<V> |
toSortedSet(Comparator<? super V> comparator) |
String |
toString() |
V |
updateValue(byte key,
Function0<? extends V> factory,
Function<? super V,? extends V> function) |
<P> V |
updateValueWith(byte key,
Function0<? extends V> factory,
Function2<? super V,? super P,? extends V> function,
P parameter) |
Collection<V> |
values() |
ByteObjectHashMap<V> |
withKeysValues(byte key1,
V value1,
byte key2,
V value2) |
ByteObjectHashMap<V> |
withKeysValues(byte key1,
V value1,
byte key2,
V value2,
byte key3,
V value3) |
ByteObjectHashMap<V> |
withKeysValues(byte key1,
V value1,
byte key2,
V value2,
byte key3,
V value3,
byte key4,
V value4) |
ByteObjectHashMap<V> |
withKeyValue(byte key,
V value) |
MutableByteObjectMap<V> |
withoutAllKeys(ByteIterable keys) |
MutableByteObjectMap<V> |
withoutKey(byte key) |
void |
writeExternal(ObjectOutput out) |
<S> MutableBag<Pair<V,S>> |
zip(Iterable<S> that)
Deprecated.
in 7.0. Use
OrderedIterable.zip(Iterable) instead. |
<S,R extends Collection<Pair<V,S>>> |
zip(Iterable<S> that,
R target) |
MutableSet<Pair<V,Integer>> |
zipWithIndex()
Deprecated.
in 7.0. Use
OrderedIterable.zipWithIndex() instead. |
<R extends Collection<Pair<V,Integer>>> |
zipWithIndex(R target) |
putPair, withAllKeyValuesinjectIntoKeyValueaggregateBy, flatCollectWithparallelStream, spliterator, streamaggregateBy, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, countBy, countBy, countByEach, countByEach, countByWith, countByWith, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, makeString, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toMap, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMapBy, toSortedSetByforEachpublic ByteObjectHashMap()
public ByteObjectHashMap(int initialCapacity)
public ByteObjectHashMap(ByteObjectMap<? extends V> map)
public static <V> ByteObjectHashMap<V> newMap()
public static <V> ByteObjectHashMap<V> newMap(ByteObjectMap<? extends V> map)
public static <V> ByteObjectHashMap<V> newWithKeysValues(byte key, V value)
public static <V> ByteObjectHashMap<V> newWithKeysValues(byte key1, V value1, byte key2, V value2)
public static <V> ByteObjectHashMap<V> newWithKeysValues(byte key1, V value1, byte key2, V value2, byte key3, V value3)
public static <V> ByteObjectHashMap<V> newWithKeysValues(byte key1, V value1, byte key2, V value2, byte key3, V value3, byte key4, V value4)
public boolean equals(Object obj)
equals in interface PrimitiveObjectMap<V>equals in class Objectpublic int hashCode()
hashCode in interface PrimitiveObjectMap<V>hashCode in class Objectpublic String toString()
toString in interface PrimitiveObjectMap<V>toString in interface RichIterable<V>toString in class Objectpublic int size()
size in interface RichIterable<V>public boolean isEmpty()
isEmpty in interface RichIterable<V>public boolean notEmpty()
notEmpty in interface RichIterable<V>public String makeString()
makeString in interface RichIterable<V>public String makeString(String separator)
makeString in interface RichIterable<V>public String makeString(String start, String separator, String end)
makeString in interface RichIterable<V>public void appendString(Appendable appendable)
appendString in interface RichIterable<V>public void appendString(Appendable appendable, String separator)
appendString in interface RichIterable<V>public void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface RichIterable<V>public Object[] toArray()
toArray in interface RichIterable<V>public <T> T[] toArray(T[] a)
toArray in interface RichIterable<V>public boolean contains(Object object)
contains in interface RichIterable<V>public boolean containsAllIterable(Iterable<?> source)
containsAllIterable in interface RichIterable<V>public boolean containsAll(Collection<?> source)
containsAll in interface RichIterable<V>public boolean containsAllArguments(Object... elements)
containsAllArguments in interface RichIterable<V>public ByteObjectHashMap<V> tap(Procedure<? super V> procedure)
tap in interface ByteObjectMap<V>tap in interface MutableByteObjectMap<V>tap in interface RichIterable<V>public void each(Procedure<? super V> procedure)
each in interface RichIterable<V>public void forEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure)
forEachWithIndex in interface InternalIterable<V>public <P> void forEachWith(Procedure2<? super V,? super P> procedure, P parameter)
forEachWith in interface InternalIterable<V>public void forEachValue(Procedure<? super V> procedure)
forEachValue in interface PrimitiveObjectMap<V>public void forEachKey(ByteProcedure procedure)
forEachKey in interface ByteObjectMap<V>public void forEachKeyValue(ByteObjectProcedure<? super V> procedure)
forEachKeyValue in interface ByteObjectMap<V>public ByteObjectHashMap<V> select(ByteObjectPredicate<? super V> predicate)
select in interface ByteObjectMap<V>select in interface MutableByteObjectMap<V>public ByteObjectHashMap<V> reject(ByteObjectPredicate<? super V> predicate)
reject in interface ByteObjectMap<V>reject in interface MutableByteObjectMap<V>public MutableBag<V> select(Predicate<? super V> predicate)
select in interface MutablePrimitiveObjectMap<V>select in interface PrimitiveObjectMap<V>select in interface RichIterable<V>public <R extends Collection<V>> R select(Predicate<? super V> predicate, R target)
select in interface RichIterable<V>public <P> MutableBag<V> selectWith(Predicate2<? super V,? super P> predicate, P parameter)
selectWith in interface MutablePrimitiveObjectMap<V>selectWith in interface PrimitiveObjectMap<V>selectWith in interface RichIterable<V>public <P,R extends Collection<V>> R selectWith(Predicate2<? super V,? super P> predicate, P parameter, R targetCollection)
selectWith in interface RichIterable<V>public MutableBag<V> reject(Predicate<? super V> predicate)
reject in interface MutablePrimitiveObjectMap<V>reject in interface PrimitiveObjectMap<V>reject in interface RichIterable<V>public <R extends Collection<V>> R reject(Predicate<? super V> predicate, R target)
reject in interface RichIterable<V>public <P> MutableBag<V> rejectWith(Predicate2<? super V,? super P> predicate, P parameter)
rejectWith in interface MutablePrimitiveObjectMap<V>rejectWith in interface PrimitiveObjectMap<V>rejectWith in interface RichIterable<V>public <P,R extends Collection<V>> R rejectWith(Predicate2<? super V,? super P> predicate, P parameter, R targetCollection)
rejectWith in interface RichIterable<V>public PartitionMutableBag<V> partition(Predicate<? super V> predicate)
partition in interface MutablePrimitiveObjectMap<V>partition in interface PrimitiveObjectMap<V>partition in interface RichIterable<V>public <P> PartitionMutableBag<V> partitionWith(Predicate2<? super V,? super P> predicate, P parameter)
partitionWith in interface MutablePrimitiveObjectMap<V>partitionWith in interface PrimitiveObjectMap<V>partitionWith in interface RichIterable<V>public <S> MutableBag<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface MutablePrimitiveObjectMap<V>selectInstancesOf in interface PrimitiveObjectMap<V>selectInstancesOf in interface RichIterable<V>public <VV> MutableBag<VV> collect(Function<? super V,? extends VV> function)
collect in interface MutablePrimitiveObjectMap<V>collect in interface PrimitiveObjectMap<V>collect in interface RichIterable<V>public MutableBooleanBag collectBoolean(BooleanFunction<? super V> booleanFunction)
collectBoolean in interface MutablePrimitiveObjectMap<V>collectBoolean in interface PrimitiveObjectMap<V>collectBoolean in interface RichIterable<V>public MutableByteBag collectByte(ByteFunction<? super V> byteFunction)
collectByte in interface MutablePrimitiveObjectMap<V>collectByte in interface PrimitiveObjectMap<V>collectByte in interface RichIterable<V>public MutableCharBag collectChar(CharFunction<? super V> charFunction)
collectChar in interface MutablePrimitiveObjectMap<V>collectChar in interface PrimitiveObjectMap<V>collectChar in interface RichIterable<V>public MutableDoubleBag collectDouble(DoubleFunction<? super V> doubleFunction)
collectDouble in interface MutablePrimitiveObjectMap<V>collectDouble in interface PrimitiveObjectMap<V>collectDouble in interface RichIterable<V>public MutableFloatBag collectFloat(FloatFunction<? super V> floatFunction)
collectFloat in interface MutablePrimitiveObjectMap<V>collectFloat in interface PrimitiveObjectMap<V>collectFloat in interface RichIterable<V>public MutableIntBag collectInt(IntFunction<? super V> intFunction)
collectInt in interface MutablePrimitiveObjectMap<V>collectInt in interface PrimitiveObjectMap<V>collectInt in interface RichIterable<V>public MutableLongBag collectLong(LongFunction<? super V> longFunction)
collectLong in interface MutablePrimitiveObjectMap<V>collectLong in interface PrimitiveObjectMap<V>collectLong in interface RichIterable<V>public MutableShortBag collectShort(ShortFunction<? super V> shortFunction)
collectShort in interface MutablePrimitiveObjectMap<V>collectShort in interface PrimitiveObjectMap<V>collectShort in interface RichIterable<V>public <P,VV> MutableBag<VV> collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
collectWith in interface MutablePrimitiveObjectMap<V>collectWith in interface PrimitiveObjectMap<V>collectWith in interface RichIterable<V>public <P,VV,R extends Collection<VV>> R collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
collectWith in interface RichIterable<V>public <VV,R extends Collection<VV>> R collect(Function<? super V,? extends VV> function, R target)
collect in interface RichIterable<V>public <VV> MutableBag<VV> collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function)
collectIf in interface MutablePrimitiveObjectMap<V>collectIf in interface PrimitiveObjectMap<V>collectIf in interface RichIterable<V>public <VV,R extends Collection<VV>> R collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function, R target)
collectIf in interface RichIterable<V>public <VV> MutableBag<VV> flatCollect(Function<? super V,? extends Iterable<VV>> function)
flatCollect in interface MutablePrimitiveObjectMap<V>flatCollect in interface PrimitiveObjectMap<V>flatCollect in interface RichIterable<V>public <VV,R extends Collection<VV>> R flatCollect(Function<? super V,? extends Iterable<VV>> function, R target)
flatCollect in interface RichIterable<V>public V detect(Predicate<? super V> predicate)
detect in interface RichIterable<V>public <P> V detectWith(Predicate2<? super V,? super P> predicate, P parameter)
detectWith in interface RichIterable<V>public Optional<V> detectOptional(Predicate<? super V> predicate)
detectOptional in interface RichIterable<V>public <P> Optional<V> detectWithOptional(Predicate2<? super V,? super P> predicate, P parameter)
detectWithOptional in interface RichIterable<V>public V detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
detectIfNone in interface RichIterable<V>public <P> V detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
detectWithIfNone in interface RichIterable<V>public int count(Predicate<? super V> predicate)
count in interface RichIterable<V>public <P> int countWith(Predicate2<? super V,? super P> predicate, P parameter)
countWith in interface RichIterable<V>public boolean anySatisfy(Predicate<? super V> predicate)
anySatisfy in interface RichIterable<V>public <P> boolean anySatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
anySatisfyWith in interface RichIterable<V>public boolean allSatisfy(Predicate<? super V> predicate)
allSatisfy in interface RichIterable<V>public <P> boolean allSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
allSatisfyWith in interface RichIterable<V>public boolean noneSatisfy(Predicate<? super V> predicate)
noneSatisfy in interface RichIterable<V>public <P> boolean noneSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
noneSatisfyWith in interface RichIterable<V>public <IV> IV injectInto(IV injectedValue,
Function2<? super IV,? super V,? extends IV> function)
injectInto in interface RichIterable<V>public int injectInto(int injectedValue,
IntObjectToIntFunction<? super V> function)
injectInto in interface RichIterable<V>public long injectInto(long injectedValue,
LongObjectToLongFunction<? super V> function)
injectInto in interface RichIterable<V>public float injectInto(float injectedValue,
FloatObjectToFloatFunction<? super V> function)
injectInto in interface RichIterable<V>public double injectInto(double injectedValue,
DoubleObjectToDoubleFunction<? super V> function)
injectInto in interface RichIterable<V>@Deprecated public <S> MutableBag<Pair<V,S>> zip(Iterable<S> that)
OrderedIterable.zip(Iterable) instead.zip in interface MutablePrimitiveObjectMap<V>zip in interface PrimitiveObjectMap<V>zip in interface RichIterable<V>public <S,R extends Collection<Pair<V,S>>> R zip(Iterable<S> that, R target)
zip in interface RichIterable<V>@Deprecated public MutableSet<Pair<V,Integer>> zipWithIndex()
OrderedIterable.zipWithIndex() instead.zipWithIndex in interface MutablePrimitiveObjectMap<V>zipWithIndex in interface PrimitiveObjectMap<V>zipWithIndex in interface RichIterable<V>public <R extends Collection<Pair<V,Integer>>> R zipWithIndex(R target)
zipWithIndex in interface RichIterable<V>public RichIterable<RichIterable<V>> chunk(int size)
chunk in interface RichIterable<V>public <K,VV> MutableMap<K,VV> aggregateInPlaceBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
aggregateInPlaceBy in interface MutablePrimitiveObjectMap<V>aggregateInPlaceBy in interface RichIterable<V>public <VV> MutableBagMultimap<VV,V> groupBy(Function<? super V,? extends VV> function)
groupBy in interface MutablePrimitiveObjectMap<V>groupBy in interface PrimitiveObjectMap<V>groupBy in interface RichIterable<V>public <VV,R extends MutableMultimap<VV,V>> R groupBy(Function<? super V,? extends VV> function, R target)
groupBy in interface RichIterable<V>public <VV> MutableBagMultimap<VV,V> groupByEach(Function<? super V,? extends Iterable<VV>> function)
groupByEach in interface MutablePrimitiveObjectMap<V>groupByEach in interface PrimitiveObjectMap<V>groupByEach in interface RichIterable<V>public <VV,R extends MutableMultimap<VV,V>> R groupByEach(Function<? super V,? extends Iterable<VV>> function, R target)
groupByEach in interface RichIterable<V>public <VV> MutableMap<VV,V> groupByUniqueKey(Function<? super V,? extends VV> function)
groupByUniqueKey in interface MutablePrimitiveObjectMap<V>groupByUniqueKey in interface PrimitiveObjectMap<V>groupByUniqueKey in interface RichIterable<V>public <VV,R extends MutableMapIterable<VV,V>> R groupByUniqueKey(Function<? super V,? extends VV> function, R target)
groupByUniqueKey in interface RichIterable<V>public V getFirst()
getFirst in interface RichIterable<V>public V getLast()
getLast in interface RichIterable<V>public V getOnly()
getOnly in interface RichIterable<V>public MutableList<V> toList()
toList in interface RichIterable<V>public <R extends Collection<V>> R into(R target)
into in interface RichIterable<V>public MutableSet<V> toSet()
toSet in interface RichIterable<V>public MutableSortedSet<V> toSortedSet()
toSortedSet in interface RichIterable<V>public MutableSortedSet<V> toSortedSet(Comparator<? super V> comparator)
toSortedSet in interface RichIterable<V>public MutableBag<V> toBag()
toBag in interface RichIterable<V>public MutableSortedBag<V> toSortedBag()
toSortedBag in interface RichIterable<V>public MutableSortedBag<V> toSortedBag(Comparator<? super V> comparator)
toSortedBag in interface RichIterable<V>public <NK,NV> MutableMap<NK,NV> toMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
toMap in interface RichIterable<V>public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
toSortedMap in interface RichIterable<V>public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Comparator<? super NK> comparator, Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
toSortedMap in interface RichIterable<V>public <NK,NV> MutableBiMap<NK,NV> toBiMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
toBiMap in interface RichIterable<V>public LazyIterable<V> asLazy()
asLazy in interface RichIterable<V>public V min(Comparator<? super V> comparator)
min in interface RichIterable<V>public V max(Comparator<? super V> comparator)
max in interface RichIterable<V>public V min()
min in interface RichIterable<V>public V max()
max in interface RichIterable<V>public <VV extends Comparable<? super VV>> V maxBy(Function<? super V,? extends VV> function)
maxBy in interface RichIterable<V>public <VV extends Comparable<? super VV>> V minBy(Function<? super V,? extends VV> function)
minBy in interface RichIterable<V>public long sumOfInt(IntFunction<? super V> function)
sumOfInt in interface RichIterable<V>public double sumOfFloat(FloatFunction<? super V> function)
sumOfFloat in interface RichIterable<V>public long sumOfLong(LongFunction<? super V> function)
sumOfLong in interface RichIterable<V>public double sumOfDouble(DoubleFunction<? super V> function)
sumOfDouble in interface RichIterable<V>public <V1> MutableObjectLongMap<V1> sumByInt(Function<? super V,? extends V1> groupBy, IntFunction<? super V> function)
sumByInt in interface MutablePrimitiveObjectMap<V>sumByInt in interface RichIterable<V>public <V1> MutableObjectDoubleMap<V1> sumByFloat(Function<? super V,? extends V1> groupBy, FloatFunction<? super V> function)
sumByFloat in interface MutablePrimitiveObjectMap<V>sumByFloat in interface RichIterable<V>public <V1> MutableObjectLongMap<V1> sumByLong(Function<? super V,? extends V1> groupBy, LongFunction<? super V> function)
sumByLong in interface MutablePrimitiveObjectMap<V>sumByLong in interface RichIterable<V>public <V1> MutableObjectDoubleMap<V1> sumByDouble(Function<? super V,? extends V1> groupBy, DoubleFunction<? super V> function)
sumByDouble in interface MutablePrimitiveObjectMap<V>sumByDouble in interface RichIterable<V>public void clear()
clear in interface MutablePrimitiveObjectMap<V>public V put(byte key, V value)
put in interface MutableByteObjectMap<V>public void putAll(ByteObjectMap<? extends V> map)
putAll in interface MutableByteObjectMap<V>public boolean containsKey(byte key)
containsKey in interface ByteObjectMap<V>public boolean containsValue(Object value)
containsValue in interface PrimitiveObjectMap<V>public V get(byte key)
get in interface ByteObjectMap<V>public V getIfAbsent(byte key, Function0<? extends V> ifAbsent)
getIfAbsent in interface ByteObjectMap<V>public V getIfAbsentPut(byte key, V value)
getIfAbsentPut in interface MutableByteObjectMap<V>public V getIfAbsentPut(byte key, Function0<? extends V> function)
getIfAbsentPut in interface MutableByteObjectMap<V>public <P> V getIfAbsentPutWith(byte key, Function<? super P,? extends V> function, P parameter)
getIfAbsentPutWith in interface MutableByteObjectMap<V>public V getIfAbsentPutWithKey(byte key, ByteToObjectFunction<? extends V> function)
getIfAbsentPutWithKey in interface MutableByteObjectMap<V>public V updateValue(byte key, Function0<? extends V> factory, Function<? super V,? extends V> function)
updateValue in interface MutableByteObjectMap<V>public <P> V updateValueWith(byte key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
updateValueWith in interface MutableByteObjectMap<V>public V removeKey(byte key)
removeKey in interface MutableByteObjectMap<V>public V remove(byte key)
remove in interface MutableByteObjectMap<V>public ByteObjectHashMap<V> withKeyValue(byte key, V value)
withKeyValue in interface MutableByteObjectMap<V>public MutableByteObjectMap<V> withoutKey(byte key)
withoutKey in interface MutableByteObjectMap<V>public MutableByteObjectMap<V> withoutAllKeys(ByteIterable keys)
withoutAllKeys in interface MutableByteObjectMap<V>public ByteObjectHashMap<V> withKeysValues(byte key1, V value1, byte key2, V value2)
public ByteObjectHashMap<V> withKeysValues(byte key1, V value1, byte key2, V value2, byte key3, V value3)
public ByteObjectHashMap<V> withKeysValues(byte key1, V value1, byte key2, V value2, byte key3, V value3, byte key4, V value4)
public MutableByteObjectMap<V> asUnmodifiable()
asUnmodifiable in interface MutableByteObjectMap<V>public MutableByteObjectMap<V> asSynchronized()
asSynchronized in interface MutableByteObjectMap<V>public ImmutableByteObjectMap<V> toImmutable()
toImmutable in interface ByteObjectMap<V>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic MutableByteSet keySet()
keySet in interface ByteObjectMap<V>public void compact()
public Collection<V> values()
values in interface PrimitiveObjectMap<V>public LazyByteIterable keysView()
keysView in interface ByteObjectMap<V>public RichIterable<ByteObjectPair<V>> keyValuesView()
keyValuesView in interface ByteObjectMap<V>public MutableObjectByteMap<V> flipUniqueValues()
flipUniqueValues in interface ByteObjectMap<V>flipUniqueValues in interface MutableByteObjectMap<V>Copyright © 2004–2022. All rights reserved.