public class UnmodifiableTreeMap<K,V> extends UnmodifiableSortedMap<K,V> implements MutableSortedMap<K,V>
MutableSortedMap.asUnmodifiable(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
V |
add(Pair<? extends K,? extends V> keyValuePair) |
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() |
LazyIterable<V> |
asReversed() |
MutableSortedMap<K,V> |
asSynchronized() |
MutableSortedMap<K,V> |
asUnmodifiable() |
RichIterable<RichIterable<V>> |
chunk(int size) |
MutableSortedMap<K,V> |
clone() |
<R> MutableList<R> |
collect(Function<? super V,? extends R> function) |
<R,C extends Collection<R>> |
collect(Function<? super V,? extends R> function,
C target) |
<K2,V2> MutableMap<K2,V2> |
collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
MutableBooleanList |
collectBoolean(BooleanFunction<? super V> booleanFunction) |
<R extends MutableBooleanCollection> |
collectBoolean(BooleanFunction<? super V> booleanFunction,
R target) |
MutableByteList |
collectByte(ByteFunction<? super V> byteFunction) |
<R extends MutableByteCollection> |
collectByte(ByteFunction<? super V> byteFunction,
R target) |
MutableCharList |
collectChar(CharFunction<? super V> charFunction) |
<R extends MutableCharCollection> |
collectChar(CharFunction<? super V> charFunction,
R target) |
MutableDoubleList |
collectDouble(DoubleFunction<? super V> doubleFunction) |
<R extends MutableDoubleCollection> |
collectDouble(DoubleFunction<? super V> doubleFunction,
R target) |
MutableFloatList |
collectFloat(FloatFunction<? super V> floatFunction) |
<R extends MutableFloatCollection> |
collectFloat(FloatFunction<? super V> floatFunction,
R target) |
<R> MutableList<R> |
collectIf(Predicate<? super V> predicate,
Function<? super V,? extends R> function) |
<R,C extends Collection<R>> |
collectIf(Predicate<? super V> predicate,
Function<? super V,? extends R> function,
C target) |
MutableIntList |
collectInt(IntFunction<? super V> intFunction) |
<R extends MutableIntCollection> |
collectInt(IntFunction<? super V> intFunction,
R target) |
<E> MutableSortedMap<K,V> |
collectKeysAndValues(Iterable<E> iterable,
Function<? super E,? extends K> keyFunction,
Function<? super E,? extends V> valueFunction) |
MutableLongList |
collectLong(LongFunction<? super V> longFunction) |
<R extends MutableLongCollection> |
collectLong(LongFunction<? super V> longFunction,
R target) |
MutableShortList |
collectShort(ShortFunction<? super V> shortFunction) |
<R extends MutableShortCollection> |
collectShort(ShortFunction<? super V> shortFunction,
R target) |
<R> MutableSortedMap<K,R> |
collectValues(Function2<? super K,? super V,? extends R> function) |
<P,R,C extends Collection<R>> |
collectWith(Function2<? super V,? super P,? extends R> function,
P parameter,
C targetCollection) |
<P,VV> MutableList<VV> |
collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<R> MutableList<R> |
collectWithIndex(ObjectIntToObjectFunction<? super V,? extends R> function) |
<V1,R extends Collection<V1>> |
collectWithIndex(ObjectIntToObjectFunction<? super V,? extends V1> function,
R target) |
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> source) |
boolean |
containsAllArguments(Object... elements) |
boolean |
containsAllIterable(Iterable<?> source) |
<S> boolean |
corresponds(OrderedIterable<S> other,
Predicate2<? super V,? super S> predicate) |
int |
count(Predicate<? super V> predicate) |
<P> int |
countWith(Predicate2<? super V,? super P> predicate,
P parameter) |
V |
detect(Predicate<? super V> predicate) |
Pair<K,V> |
detect(Predicate2<? super K,? super V> predicate) |
V |
detectIfNone(Predicate<? super V> predicate,
Function0<? extends V> function) |
int |
detectIndex(Predicate<? super V> predicate) |
int |
detectLastIndex(Predicate<? super V> predicate) |
Optional<V> |
detectOptional(Predicate<? super V> predicate) |
Optional<Pair<K,V>> |
detectOptional(Predicate2<? super K,? 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) |
MutableList<V> |
distinct() |
MutableSortedMap<K,V> |
drop(int count) |
MutableSortedMap<K,V> |
dropWhile(Predicate<? super V> predicate) |
void |
each(Procedure<? super V> procedure) |
MutableSet<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object obj) |
<R> MutableList<R> |
flatCollect(Function<? super V,? extends Iterable<R>> function) |
<R,C extends Collection<R>> |
flatCollect(Function<? super V,? extends Iterable<R>> function,
C target) |
<R extends MutableBooleanCollection> |
flatCollectBoolean(Function<? super V,? extends BooleanIterable> function,
R target) |
<R extends MutableByteCollection> |
flatCollectByte(Function<? super V,? extends ByteIterable> function,
R target) |
<R extends MutableCharCollection> |
flatCollectChar(Function<? super V,? extends CharIterable> function,
R target) |
<R extends MutableDoubleCollection> |
flatCollectDouble(Function<? super V,? extends DoubleIterable> function,
R target) |
<R extends MutableFloatCollection> |
flatCollectFloat(Function<? super V,? extends FloatIterable> function,
R target) |
<R extends MutableIntCollection> |
flatCollectInt(Function<? super V,? extends IntIterable> function,
R target) |
<R extends MutableLongCollection> |
flatCollectLong(Function<? super V,? extends LongIterable> function,
R target) |
<R extends MutableShortCollection> |
flatCollectShort(Function<? super V,? extends ShortIterable> function,
R target) |
MutableSortedSetMultimap<V,K> |
flip() |
MutableMapIterable<V,K> |
flipUniqueValues() |
void |
forEach(int startIndex,
int endIndex,
Procedure<? super V> procedure) |
void |
forEachKey(Procedure<? super K> procedure) |
void |
forEachKeyValue(Procedure2<? super K,? super V> procedure) |
void |
forEachValue(Procedure<? super V> procedure) |
<P> void |
forEachWith(Procedure2<? super V,? super P> procedure,
P parameter) |
void |
forEachWithIndex(int fromIndex,
int toIndex,
ObjectIntProcedure<? super V> objectIntProcedure) |
void |
forEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure) |
V |
getFirst() |
V |
getIfAbsent(K key,
Function0<? extends V> function) |
V |
getIfAbsentPut(K key,
Function0<? extends V> function) |
V |
getIfAbsentPut(K key,
V value) |
<P> V |
getIfAbsentPutWith(K key,
Function<? super P,? extends V> function,
P parameter) |
V |
getIfAbsentPutWithKey(K key,
Function<? super K,? extends V> function) |
V |
getIfAbsentValue(K key,
V value) |
<P> V |
getIfAbsentWith(K key,
Function<? super P,? extends V> function,
P parameter) |
V |
getLast() |
V |
getOnly() |
<R> MutableListMultimap<R,V> |
groupBy(Function<? super V,? extends R> function) |
<R,C extends MutableMultimap<R,V>> |
groupBy(Function<? super V,? extends R> function,
C target) |
<R> MutableListMultimap<R,V> |
groupByEach(Function<? super V,? extends Iterable<R>> function) |
<R,C extends MutableMultimap<R,V>> |
groupByEach(Function<? super V,? extends Iterable<R>> function,
C 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() |
MutableSortedMap<K,V> |
headMap(K toKey) |
<A> A |
ifPresentApply(K key,
Function<? super V,? extends A> function) |
int |
indexOf(Object object) |
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) |
Iterator<V> |
iterator() |
MutableSet<K> |
keySet() |
RichIterable<K> |
keysView() |
RichIterable<Pair<K,V>> |
keyValuesView() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
V |
max() |
V |
max(Comparator<? super V> comparator) |
<R extends Comparable<? super R>> |
maxBy(Function<? super V,? extends R> function) |
V |
min() |
V |
min(Comparator<? super V> comparator) |
<R extends Comparable<? super R>> |
minBy(Function<? super V,? extends R> function) |
MutableSortedMap<K,V> |
newEmpty() |
boolean |
noneSatisfy(Predicate<? super V> predicate) |
<P> boolean |
noneSatisfyWith(Predicate2<? super V,? super P> predicate,
P parameter) |
boolean |
notEmpty() |
static <K,V,M extends SortedMap<K,V>> |
of(M map)
This method will take a MutableSortedMap and wrap it directly in a UnmodifiableMutableMap.
|
PartitionMutableList<V> |
partition(Predicate<? super V> predicate) |
PartitionMutableList<V> |
partitionWhile(Predicate<? super V> predicate) |
<P> PartitionMutableList<V> |
partitionWith(Predicate2<? super V,? super P> predicate,
P parameter) |
void |
putAllMapIterable(MapIterable<? extends K,? extends V> mapIterable) |
V |
putPair(Pair<? extends K,? extends V> keyValuePair) |
MutableList<V> |
reject(Predicate<? super V> predicate) |
<R extends Collection<V>> |
reject(Predicate<? super V> predicate,
R target) |
MutableSortedMap<K,V> |
reject(Predicate2<? super K,? super V> predicate) |
<P> MutableList<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) |
boolean |
removeAllKeys(Set<? extends K> keys) |
boolean |
removeIf(Predicate2<? super K,? super V> predicate) |
V |
removeKey(K key) |
MutableList<V> |
select(Predicate<? super V> predicate) |
<R extends Collection<V>> |
select(Predicate<? super V> predicate,
R target) |
MutableSortedMap<K,V> |
select(Predicate2<? super K,? super V> predicate) |
<S> MutableList<S> |
selectInstancesOf(Class<S> clazz) |
<P> MutableList<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) |
MutableSortedMap<K,V> |
subMap(K fromKey,
K toKey) |
<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) |
MutableSortedMap<K,V> |
tailMap(K fromKey) |
MutableSortedMap<K,V> |
take(int count) |
MutableSortedMap<K,V> |
takeWhile(Predicate<? super V> predicate) |
MutableSortedMap<K,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) |
ImmutableSortedMap<K,V> |
toImmutable() |
MutableList<V> |
toList() |
<NK,NV> MutableMap<NK,NV> |
toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction) |
<NK,NV,R extends Map<NK,NV>> |
toMap(Function<? super V,? extends NK> keyFunction,
Function<? super V,? extends NV> valueFunction,
R target) |
MutableSortedMap<K,V> |
toReversed() |
MutableSet<V> |
toSet() |
MutableSortedBag<V> |
toSortedBag() |
MutableSortedBag<V> |
toSortedBag(Comparator<? super V> comparator) |
MutableList<V> |
toSortedList() |
MutableList<V> |
toSortedList(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) |
MutableStack<V> |
toStack() |
V |
updateValue(K key,
Function0<? extends V> factory,
Function<? super V,? extends V> function) |
<P> V |
updateValueWith(K key,
Function0<? extends V> factory,
Function2<? super V,? super P,? extends V> function,
P parameter) |
MutableCollection<V> |
values() |
RichIterable<V> |
valuesView() |
MutableSortedMap<K,V> |
with(Pair<K,V>... pairs) |
MutableSortedMap<K,V> |
withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs) |
MutableSortedMap<K,V> |
withAllKeyValues(Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
MutableSortedMap<K,V> |
withKeyValue(K key,
V value) |
MutableSortedMap<K,V> |
withMap(Map<? extends K,? extends V> map) |
MutableSortedMap<K,V> |
withMapIterable(MapIterable<? extends K,? extends V> mapIterable) |
MutableSortedMap<K,V> |
withoutAllKeys(Iterable<? extends K> keys) |
MutableSortedMap<K,V> |
withoutKey(K key) |
<S> MutableList<Pair<V,S>> |
zip(Iterable<S> that) |
<S,R extends Collection<Pair<V,S>>> |
zip(Iterable<S> that,
R target) |
MutableList<Pair<V,Integer>> |
zipWithIndex() |
<R extends Collection<Pair<V,Integer>>> |
zipWithIndex(R target) |
comparator, firstKey, lastKeyclear, containsKey, containsValue, get, isEmpty, put, putAll, remove, size, toStringgetClass, notify, notifyAll, toString, wait, wait, waitflatCollectWithaggregateBy, aggregateBy, aggregateInPlaceBy, countBy, countByEach, countByWith, getOrDefaultcomparatorcontainsKey, containsValue, get, injectIntoKeyValue, parallelStream, spliterator, stream, toStringreverseForEach, reverseForEachWithIndexgetFirstOptional, getLastOptional, rejectWithIndex, selectWithIndexaggregateBy, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, countBy, countByEach, countByWith, flatCollectWith, forEach, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, isEmpty, makeString, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, reduceInPlace, reduceInPlace, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toSortedBagBy, toSortedListBy, toSortedMapBy, toSortedSetByforEachcomparator, firstKey, lastKeyclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, forEach, get, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizepublic static <K,V,M extends SortedMap<K,V>> UnmodifiableTreeMap<K,V> of(M map)
public V putPair(Pair<? extends K,? extends V> keyValuePair)
putPair in interface MutableMapIterable<K,V>public V add(Pair<? extends K,? extends V> keyValuePair)
add in interface MutableMapIterable<K,V>public boolean removeAllKeys(Set<? extends K> keys)
removeAllKeys in interface MutableMapIterable<K,V>public boolean removeIf(Predicate2<? super K,? super V> predicate)
removeIf in interface MutableMapIterable<K,V>public MutableSortedMap<K,V> with(Pair<K,V>... pairs)
with in interface MutableSortedMap<K,V>public MutableSortedMap<K,V> withKeyValue(K key, V value)
withKeyValue in interface MutableMapIterable<K,V>withKeyValue in interface MutableSortedMap<K,V>public MutableSortedMap<K,V> withMap(Map<? extends K,? extends V> map)
withMap in interface MutableMapIterable<K,V>withMap in interface MutableSortedMap<K,V>public MutableSortedMap<K,V> withMapIterable(MapIterable<? extends K,? extends V> mapIterable)
withMapIterable in interface MutableMapIterable<K,V>withMapIterable in interface MutableSortedMap<K,V>public void putAllMapIterable(MapIterable<? extends K,? extends V> mapIterable)
putAllMapIterable in interface MutableMapIterable<K,V>public MutableSortedMap<K,V> withAllKeyValues(Iterable<? extends Pair<? extends K,? extends V>> keyValues)
withAllKeyValues in interface MutableMapIterable<K,V>withAllKeyValues in interface MutableSortedMap<K,V>public MutableSortedMap<K,V> withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs)
withAllKeyValueArguments in interface MutableMapIterable<K,V>withAllKeyValueArguments in interface MutableSortedMap<K,V>public MutableSortedMap<K,V> withoutKey(K key)
withoutKey in interface MutableMapIterable<K,V>withoutKey in interface MutableSortedMap<K,V>public MutableSortedMap<K,V> withoutAllKeys(Iterable<? extends K> keys)
withoutAllKeys in interface MutableMapIterable<K,V>withoutAllKeys in interface MutableSortedMap<K,V>public V updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
updateValue in interface MutableMapIterable<K,V>public <P> V updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
updateValueWith in interface MutableMapIterable<K,V>public <E> MutableSortedMap<K,V> collectKeysAndValues(Iterable<E> iterable, Function<? super E,? extends K> keyFunction, Function<? super E,? extends V> valueFunction)
collectKeysAndValues in interface MutableSortedMap<K,V>public V getIfAbsentPut(K key, Function0<? extends V> function)
getIfAbsentPut in interface MutableMapIterable<K,V>public V getIfAbsentPut(K key, V value)
getIfAbsentPut in interface MutableMapIterable<K,V>public V getIfAbsentPutWithKey(K key, Function<? super K,? extends V> function)
getIfAbsentPutWithKey in interface MutableMapIterable<K,V>public <P> V getIfAbsentPutWith(K key, Function<? super P,? extends V> function, P parameter)
getIfAbsentPutWith in interface MutableMapIterable<K,V>getIfAbsentPutWith in interface MutableSortedMap<K,V>public V getIfAbsent(K key, Function0<? extends V> function)
getIfAbsent in interface MapIterable<K,V>public V getIfAbsentValue(K key, V value)
getIfAbsentValue in interface MapIterable<K,V>public <P> V getIfAbsentWith(K key, Function<? super P,? extends V> function, P parameter)
getIfAbsentWith in interface MapIterable<K,V>public MutableSortedSetMultimap<V,K> flip()
flip in interface MapIterable<K,V>flip in interface MutableMapIterable<K,V>flip in interface MutableSortedMap<K,V>flip in interface SortedMapIterable<K,V>public MutableSortedMap<K,V> clone()
public MutableSortedMap<K,V> asUnmodifiable()
asUnmodifiable in interface MutableMapIterable<K,V>asUnmodifiable in interface MutableSortedMap<K,V>public MutableSortedMap<K,V> asSynchronized()
asSynchronized in interface MutableMapIterable<K,V>asSynchronized in interface MutableSortedMap<K,V>public ImmutableSortedMap<K,V> toImmutable()
toImmutable in interface MapIterable<K,V>toImmutable in interface MutableMapIterable<K,V>toImmutable in interface SortedMapIterable<K,V>public int hashCode()
public boolean equals(Object obj)
public RichIterable<K> keysView()
keysView in interface MapIterable<K,V>public RichIterable<V> valuesView()
valuesView in interface MapIterable<K,V>public RichIterable<Pair<K,V>> keyValuesView()
keyValuesView in interface MapIterable<K,V>public MutableSortedMap<K,V> newEmpty()
newEmpty in interface MutableMapIterable<K,V>newEmpty in interface MutableSortedMap<K,V>public boolean notEmpty()
notEmpty in interface RichIterable<V>public void forEachValue(Procedure<? super V> procedure)
forEachValue in interface MapIterable<K,V>public void forEachKey(Procedure<? super K> procedure)
forEachKey in interface MapIterable<K,V>public void forEachKeyValue(Procedure2<? super K,? super V> procedure)
forEachKeyValue in interface MapIterable<K,V>public MutableMapIterable<V,K> flipUniqueValues()
flipUniqueValues in interface MapIterable<K,V>flipUniqueValues in interface MutableMapIterable<K,V>public <A> A ifPresentApply(K key, Function<? super V,? extends A> function)
ifPresentApply in interface MapIterable<K,V>public MutableSortedMap<K,V> tap(Procedure<? super V> procedure)
tap in interface MapIterable<K,V>tap in interface MutableMapIterable<K,V>tap in interface MutableSortedMap<K,V>tap in interface SortedMapIterable<K,V>tap in interface OrderedIterable<V>tap in interface ReversibleIterable<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>forEachWithIndex in interface OrderedIterable<V>public <P> void forEachWith(Procedure2<? super V,? super P> procedure, P parameter)
forEachWith in interface InternalIterable<V>public <R> MutableSortedMap<K,R> collectValues(Function2<? super K,? super V,? extends R> function)
collectValues in interface MapIterable<K,V>collectValues in interface MutableMapIterable<K,V>collectValues in interface MutableSortedMap<K,V>collectValues in interface SortedMapIterable<K,V>public <K2,V2> MutableMap<K2,V2> collect(Function2<? super K,? super V,Pair<K2,V2>> function)
collect in interface MapIterable<K,V>collect in interface MutableMapIterable<K,V>collect in interface MutableSortedMap<K,V>collect in interface SortedMapIterable<K,V>public MutableSortedMap<K,V> select(Predicate2<? super K,? super V> predicate)
select in interface MapIterable<K,V>select in interface MutableMapIterable<K,V>select in interface MutableSortedMap<K,V>select in interface SortedMapIterable<K,V>public MutableSortedMap<K,V> reject(Predicate2<? super K,? super V> predicate)
reject in interface MapIterable<K,V>reject in interface MutableMapIterable<K,V>reject in interface MutableSortedMap<K,V>reject in interface SortedMapIterable<K,V>public Pair<K,V> detect(Predicate2<? super K,? super V> predicate)
detect in interface MapIterable<K,V>public Optional<Pair<K,V>> detectOptional(Predicate2<? super K,? super V> predicate)
detectOptional in interface MapIterable<K,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 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 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 LazyIterable<V> asLazy()
asLazy in interface RichIterable<V>public <R extends Collection<V>> R into(R target)
into in interface RichIterable<V>public MutableList<V> toList()
toList 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,R extends Map<NK,NV>> R toMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction, R target)
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 MutableSet<V> toSet()
toSet in interface RichIterable<V>public MutableList<V> toSortedList()
toSortedList in interface RichIterable<V>public MutableList<V> toSortedList(Comparator<? super V> comparator)
toSortedList 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 RichIterable<RichIterable<V>> chunk(int size)
chunk in interface RichIterable<V>public <R,C extends Collection<R>> C collect(Function<? super V,? extends R> function, C target)
collect in interface RichIterable<V>public <R,C extends Collection<R>> C collectIf(Predicate<? super V> predicate, Function<? super V,? extends R> function, C target)
collectIf in interface RichIterable<V>public <P,VV> MutableList<VV> collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
collectWith in interface MutableSortedMap<K,V>collectWith in interface SortedMapIterable<K,V>collectWith in interface OrderedIterable<V>collectWith in interface ReversibleIterable<V>collectWith in interface RichIterable<V>public <P,R,C extends Collection<R>> C collectWith(Function2<? super V,? super P,? extends R> function, P parameter, C targetCollection)
collectWith in interface RichIterable<V>public <R> MutableList<R> collectWithIndex(ObjectIntToObjectFunction<? super V,? extends R> function)
collectWithIndex in interface MutableSortedMap<K,V>collectWithIndex in interface SortedMapIterable<K,V>collectWithIndex in interface OrderedIterable<V>collectWithIndex in interface ReversibleIterable<V>public <V1,R extends Collection<V1>> R collectWithIndex(ObjectIntToObjectFunction<? super V,? extends V1> function, R target)
collectWithIndex in interface OrderedIterable<V>public boolean contains(Object object)
contains in interface RichIterable<V>public boolean containsAllArguments(Object... elements)
containsAllArguments 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 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 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 <R,C extends Collection<R>> C flatCollect(Function<? super V,? extends Iterable<R>> function, C target)
flatCollect in interface RichIterable<V>public V getFirst()
getFirst in interface OrderedIterable<V>getFirst in interface RichIterable<V>public V getLast()
getLast in interface OrderedIterable<V>getLast in interface RichIterable<V>public V getOnly()
getOnly in interface RichIterable<V>public <R> MutableListMultimap<R,V> groupBy(Function<? super V,? extends R> function)
groupBy in interface MutableMapIterable<K,V>groupBy in interface MutableSortedMap<K,V>groupBy in interface SortedMapIterable<K,V>groupBy in interface OrderedIterable<V>groupBy in interface ReversibleIterable<V>groupBy in interface RichIterable<V>public <R,C extends MutableMultimap<R,V>> C groupBy(Function<? super V,? extends R> function, C target)
groupBy in interface RichIterable<V>public <R> MutableListMultimap<R,V> groupByEach(Function<? super V,? extends Iterable<R>> function)
groupByEach in interface MutableMapIterable<K,V>groupByEach in interface MutableSortedMap<K,V>groupByEach in interface SortedMapIterable<K,V>groupByEach in interface OrderedIterable<V>groupByEach in interface ReversibleIterable<V>groupByEach in interface RichIterable<V>public <R,C extends MutableMultimap<R,V>> C groupByEach(Function<? super V,? extends Iterable<R>> function, C target)
groupByEach in interface RichIterable<V>public <VV> MutableMap<VV,V> groupByUniqueKey(Function<? super V,? extends VV> function)
groupByUniqueKey in interface MutableMapIterable<K,V>groupByUniqueKey in interface MutableSortedMap<K,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 <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 double injectInto(double injectedValue,
DoubleObjectToDoubleFunction<? super V> function)
injectInto in interface RichIterable<V>public float injectInto(float injectedValue,
FloatObjectToFloatFunction<? super V> function)
injectInto 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 MutableMapIterable<K,V>sumByInt in interface RichIterable<V>public <V1> MutableObjectDoubleMap<V1> sumByFloat(Function<? super V,? extends V1> groupBy, FloatFunction<? super V> function)
sumByFloat in interface MutableMapIterable<K,V>sumByFloat in interface RichIterable<V>public <V1> MutableObjectLongMap<V1> sumByLong(Function<? super V,? extends V1> groupBy, LongFunction<? super V> function)
sumByLong in interface MutableMapIterable<K,V>sumByLong in interface RichIterable<V>public <V1> MutableObjectDoubleMap<V1> sumByDouble(Function<? super V,? extends V1> groupBy, DoubleFunction<? super V> function)
sumByDouble in interface MutableMapIterable<K,V>sumByDouble 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 V max()
max in interface OrderedIterable<V>max in interface RichIterable<V>public V max(Comparator<? super V> comparator)
max in interface RichIterable<V>public <R extends Comparable<? super R>> V maxBy(Function<? super V,? extends R> function)
maxBy in interface RichIterable<V>public V min()
min in interface OrderedIterable<V>min in interface RichIterable<V>public V min(Comparator<? super V> comparator)
min in interface RichIterable<V>public <R extends Comparable<? super R>> V minBy(Function<? super V,? extends R> function)
minBy in interface RichIterable<V>public MutableList<V> select(Predicate<? super V> predicate)
select in interface MutableMapIterable<K,V>select in interface MutableSortedMap<K,V>select in interface SortedMapIterable<K,V>select in interface OrderedIterable<V>select in interface ReversibleIterable<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> MutableList<V> selectWith(Predicate2<? super V,? super P> predicate, P parameter)
selectWith in interface MutableMapIterable<K,V>selectWith in interface MutableSortedMap<K,V>selectWith in interface SortedMapIterable<K,V>selectWith in interface OrderedIterable<V>selectWith in interface ReversibleIterable<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 <R extends Collection<V>> R reject(Predicate<? super V> predicate, R target)
reject in interface RichIterable<V>public MutableList<V> reject(Predicate<? super V> predicate)
reject in interface MutableMapIterable<K,V>reject in interface MutableSortedMap<K,V>reject in interface SortedMapIterable<K,V>reject in interface OrderedIterable<V>reject in interface ReversibleIterable<V>reject in interface RichIterable<V>public <P> MutableList<V> rejectWith(Predicate2<? super V,? super P> predicate, P parameter)
rejectWith in interface MutableMapIterable<K,V>rejectWith in interface MutableSortedMap<K,V>rejectWith in interface SortedMapIterable<K,V>rejectWith in interface OrderedIterable<V>rejectWith in interface ReversibleIterable<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 Object[] toArray()
toArray in interface RichIterable<V>public <T> T[] toArray(T[] a)
toArray in interface RichIterable<V>public <S,R extends Collection<Pair<V,S>>> R zip(Iterable<S> that, R target)
zip in interface OrderedIterable<V>zip in interface RichIterable<V>public <R extends Collection<Pair<V,Integer>>> R zipWithIndex(R target)
zipWithIndex in interface OrderedIterable<V>zipWithIndex in interface RichIterable<V>public <R> MutableList<R> collect(Function<? super V,? extends R> function)
collect in interface MutableSortedMap<K,V>collect in interface SortedMapIterable<K,V>collect in interface OrderedIterable<V>collect in interface ReversibleIterable<V>collect in interface RichIterable<V>public MutableBooleanList collectBoolean(BooleanFunction<? super V> booleanFunction)
collectBoolean in interface MutableSortedMap<K,V>collectBoolean in interface SortedMapIterable<K,V>collectBoolean in interface OrderedIterable<V>collectBoolean in interface ReversibleIterable<V>collectBoolean in interface RichIterable<V>public <R extends MutableBooleanCollection> R collectBoolean(BooleanFunction<? super V> booleanFunction, R target)
collectBoolean in interface RichIterable<V>public <R extends MutableBooleanCollection> R flatCollectBoolean(Function<? super V,? extends BooleanIterable> function, R target)
flatCollectBoolean in interface RichIterable<V>public MutableByteList collectByte(ByteFunction<? super V> byteFunction)
collectByte in interface MutableSortedMap<K,V>collectByte in interface SortedMapIterable<K,V>collectByte in interface OrderedIterable<V>collectByte in interface ReversibleIterable<V>collectByte in interface RichIterable<V>public <R extends MutableByteCollection> R collectByte(ByteFunction<? super V> byteFunction, R target)
collectByte in interface RichIterable<V>public <R extends MutableByteCollection> R flatCollectByte(Function<? super V,? extends ByteIterable> function, R target)
flatCollectByte in interface RichIterable<V>public MutableCharList collectChar(CharFunction<? super V> charFunction)
collectChar in interface MutableSortedMap<K,V>collectChar in interface SortedMapIterable<K,V>collectChar in interface OrderedIterable<V>collectChar in interface ReversibleIterable<V>collectChar in interface RichIterable<V>public <R extends MutableCharCollection> R collectChar(CharFunction<? super V> charFunction, R target)
collectChar in interface RichIterable<V>public <R extends MutableCharCollection> R flatCollectChar(Function<? super V,? extends CharIterable> function, R target)
flatCollectChar in interface RichIterable<V>public MutableDoubleList collectDouble(DoubleFunction<? super V> doubleFunction)
collectDouble in interface MutableSortedMap<K,V>collectDouble in interface SortedMapIterable<K,V>collectDouble in interface OrderedIterable<V>collectDouble in interface ReversibleIterable<V>collectDouble in interface RichIterable<V>public <R extends MutableDoubleCollection> R collectDouble(DoubleFunction<? super V> doubleFunction, R target)
collectDouble in interface RichIterable<V>public <R extends MutableDoubleCollection> R flatCollectDouble(Function<? super V,? extends DoubleIterable> function, R target)
flatCollectDouble in interface RichIterable<V>public MutableFloatList collectFloat(FloatFunction<? super V> floatFunction)
collectFloat in interface MutableSortedMap<K,V>collectFloat in interface SortedMapIterable<K,V>collectFloat in interface OrderedIterable<V>collectFloat in interface ReversibleIterable<V>collectFloat in interface RichIterable<V>public <R extends MutableFloatCollection> R collectFloat(FloatFunction<? super V> floatFunction, R target)
collectFloat in interface RichIterable<V>public <R extends MutableFloatCollection> R flatCollectFloat(Function<? super V,? extends FloatIterable> function, R target)
flatCollectFloat in interface RichIterable<V>public MutableIntList collectInt(IntFunction<? super V> intFunction)
collectInt in interface MutableSortedMap<K,V>collectInt in interface SortedMapIterable<K,V>collectInt in interface OrderedIterable<V>collectInt in interface ReversibleIterable<V>collectInt in interface RichIterable<V>public <R extends MutableIntCollection> R collectInt(IntFunction<? super V> intFunction, R target)
collectInt in interface RichIterable<V>public <R extends MutableIntCollection> R flatCollectInt(Function<? super V,? extends IntIterable> function, R target)
flatCollectInt in interface RichIterable<V>public MutableLongList collectLong(LongFunction<? super V> longFunction)
collectLong in interface MutableSortedMap<K,V>collectLong in interface SortedMapIterable<K,V>collectLong in interface OrderedIterable<V>collectLong in interface ReversibleIterable<V>collectLong in interface RichIterable<V>public <R extends MutableLongCollection> R collectLong(LongFunction<? super V> longFunction, R target)
collectLong in interface RichIterable<V>public <R extends MutableLongCollection> R flatCollectLong(Function<? super V,? extends LongIterable> function, R target)
flatCollectLong in interface RichIterable<V>public MutableShortList collectShort(ShortFunction<? super V> shortFunction)
collectShort in interface MutableSortedMap<K,V>collectShort in interface SortedMapIterable<K,V>collectShort in interface OrderedIterable<V>collectShort in interface ReversibleIterable<V>collectShort in interface RichIterable<V>public <R extends MutableShortCollection> R collectShort(ShortFunction<? super V> shortFunction, R target)
collectShort in interface RichIterable<V>public <R extends MutableShortCollection> R flatCollectShort(Function<? super V,? extends ShortIterable> function, R target)
flatCollectShort in interface RichIterable<V>public <R> MutableList<R> collectIf(Predicate<? super V> predicate, Function<? super V,? extends R> function)
collectIf in interface MutableSortedMap<K,V>collectIf in interface SortedMapIterable<K,V>collectIf in interface OrderedIterable<V>collectIf in interface ReversibleIterable<V>collectIf in interface RichIterable<V>public <R> MutableList<R> flatCollect(Function<? super V,? extends Iterable<R>> function)
flatCollect in interface MutableSortedMap<K,V>flatCollect in interface SortedMapIterable<K,V>flatCollect in interface OrderedIterable<V>flatCollect in interface ReversibleIterable<V>flatCollect in interface RichIterable<V>public PartitionMutableList<V> partition(Predicate<? super V> predicate)
partition in interface MutableMapIterable<K,V>partition in interface MutableSortedMap<K,V>partition in interface SortedMapIterable<K,V>partition in interface OrderedIterable<V>partition in interface ReversibleIterable<V>partition in interface RichIterable<V>public <P> PartitionMutableList<V> partitionWith(Predicate2<? super V,? super P> predicate, P parameter)
partitionWith in interface MutableSortedMap<K,V>partitionWith in interface SortedMapIterable<K,V>partitionWith in interface OrderedIterable<V>partitionWith in interface ReversibleIterable<V>partitionWith in interface RichIterable<V>public <S> MutableList<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface MutableMapIterable<K,V>selectInstancesOf in interface MutableSortedMap<K,V>selectInstancesOf in interface SortedMapIterable<K,V>selectInstancesOf in interface OrderedIterable<V>selectInstancesOf in interface ReversibleIterable<V>selectInstancesOf in interface RichIterable<V>public <S> MutableList<Pair<V,S>> zip(Iterable<S> that)
zip in interface MutableMapIterable<K,V>zip in interface MutableSortedMap<K,V>zip in interface SortedMapIterable<K,V>zip in interface OrderedIterable<V>zip in interface ReversibleIterable<V>zip in interface RichIterable<V>public MutableList<Pair<V,Integer>> zipWithIndex()
zipWithIndex in interface MutableMapIterable<K,V>zipWithIndex in interface MutableSortedMap<K,V>zipWithIndex in interface SortedMapIterable<K,V>zipWithIndex in interface OrderedIterable<V>zipWithIndex in interface ReversibleIterable<V>zipWithIndex in interface RichIterable<V>public MutableSet<K> keySet()
public MutableCollection<V> values()
public MutableSortedMap<K,V> headMap(K toKey)
public MutableSortedMap<K,V> tailMap(K fromKey)
public MutableSortedMap<K,V> subMap(K fromKey, K toKey)
public MutableSet<Map.Entry<K,V>> entrySet()
public MutableSortedMap<K,V> toReversed()
toReversed in interface MutableSortedMap<K,V>toReversed in interface SortedMapIterable<K,V>toReversed in interface ReversibleIterable<V>public MutableSortedMap<K,V> take(int count)
take in interface MutableSortedMap<K,V>take in interface SortedMapIterable<K,V>take in interface ReversibleIterable<V>public MutableSortedMap<K,V> takeWhile(Predicate<? super V> predicate)
takeWhile in interface MutableSortedMap<K,V>takeWhile in interface SortedMapIterable<K,V>takeWhile in interface OrderedIterable<V>takeWhile in interface ReversibleIterable<V>public MutableSortedMap<K,V> drop(int count)
drop in interface MutableSortedMap<K,V>drop in interface SortedMapIterable<K,V>drop in interface ReversibleIterable<V>public MutableSortedMap<K,V> dropWhile(Predicate<? super V> predicate)
dropWhile in interface MutableSortedMap<K,V>dropWhile in interface SortedMapIterable<K,V>dropWhile in interface OrderedIterable<V>dropWhile in interface ReversibleIterable<V>public PartitionMutableList<V> partitionWhile(Predicate<? super V> predicate)
partitionWhile in interface MutableSortedMap<K,V>partitionWhile in interface SortedMapIterable<K,V>partitionWhile in interface OrderedIterable<V>partitionWhile in interface ReversibleIterable<V>public MutableList<V> distinct()
distinct in interface MutableSortedMap<K,V>distinct in interface SortedMapIterable<K,V>distinct in interface OrderedIterable<V>distinct in interface ReversibleIterable<V>public LazyIterable<V> asReversed()
asReversed in interface ReversibleIterable<V>public int detectLastIndex(Predicate<? super V> predicate)
detectLastIndex in interface ReversibleIterable<V>public int indexOf(Object object)
indexOf in interface OrderedIterable<V>public <S> boolean corresponds(OrderedIterable<S> other, Predicate2<? super V,? super S> predicate)
corresponds in interface OrderedIterable<V>public void forEach(int startIndex,
int endIndex,
Procedure<? super V> procedure)
forEach in interface OrderedIterable<V>public void forEachWithIndex(int fromIndex,
int toIndex,
ObjectIntProcedure<? super V> objectIntProcedure)
forEachWithIndex in interface OrderedIterable<V>public MutableStack<V> toStack()
toStack in interface OrderedIterable<V>public int detectIndex(Predicate<? super V> predicate)
detectIndex in interface OrderedIterable<V>Copyright © 2004–2022. All rights reserved.