tap(Procedure super V> procedure)
{
this.forEach(procedure);
return this;
}
@Override
public void each(Procedure super V> procedure)
{
this.getMutableMap().forEach(procedure);
}
@Override
public void forEachWithIndex(ObjectIntProcedure super V> objectIntProcedure)
{
this.getMutableMap().forEachWithIndex(objectIntProcedure);
}
@Override
public void forEachWith(Procedure2 super V, ? super P> procedure, P parameter)
{
this.getMutableMap().forEachWith(procedure, parameter);
}
@Override
public Iterator iterator()
{
return new UnmodifiableIteratorAdapter<>(this.getMutableMap().iterator());
}
@Override
public int hashCode()
{
return this.getMutableMap().hashCode();
}
@Override
public boolean equals(Object obj)
{
return this.getMutableMap().equals(obj);
}
protected MutableMap getMutableMap()
{
return (MutableMap) this.delegate;
}
@Override
public RichIterable keysView()
{
return LazyIterate.adapt(this.keySet());
}
@Override
public RichIterable valuesView()
{
return LazyIterate.adapt(this.values());
}
@Override
public RichIterable> keyValuesView()
{
return LazyIterate.adapt(this.entrySet()).collect(AbstractImmutableEntry.getPairFunction());
}
@Override
public ImmutableMap toImmutable()
{
return Maps.immutable.withAll(this);
}
@Override
public MutableMap collectValues(Function2 super K, ? super V, ? extends R> function)
{
return this.getMutableMap().collectValues(function);
}
@Override
public MutableMap collect(Function2 super K, ? super V, Pair> function)
{
return this.getMutableMap().collect(function);
}
@Override
public MutableMap select(Predicate2 super K, ? super V> predicate)
{
return this.getMutableMap().select(predicate);
}
@Override
public MutableMap reject(Predicate2 super K, ? super V> predicate)
{
return this.getMutableMap().reject(predicate);
}
@Override
public Pair detect(Predicate2 super K, ? super V> predicate)
{
return this.getMutableMap().detect(predicate);
}
@Override
public Optional> detectOptional(Predicate2 super K, ? super V> predicate)
{
return this.getMutableMap().detectOptional(predicate);
}
@Override
public boolean allSatisfy(Predicate super V> predicate)
{
return this.getMutableMap().allSatisfy(predicate);
}
@Override
public boolean allSatisfyWith(Predicate2 super V, ? super P> predicate, P parameter)
{
return this.getMutableMap().allSatisfyWith(predicate, parameter);
}
@Override
public boolean noneSatisfy(Predicate super V> predicate)
{
return this.getMutableMap().noneSatisfy(predicate);
}
@Override
public
boolean noneSatisfyWith(Predicate2 super V, ? super P> predicate, P parameter)
{
return this.getMutableMap().noneSatisfyWith(predicate, parameter);
}
@Override
public boolean anySatisfy(Predicate super V> predicate)
{
return this.getMutableMap().anySatisfy(predicate);
}
@Override
public
boolean anySatisfyWith(Predicate2 super V, ? super P> predicate, P parameter)
{
return this.getMutableMap().anySatisfyWith(predicate, parameter);
}
@Override
public void appendString(Appendable appendable)
{
this.getMutableMap().appendString(appendable);
}
@Override
public void appendString(Appendable appendable, String separator)
{
this.getMutableMap().appendString(appendable, separator);
}
@Override
public void appendString(Appendable appendable, String start, String separator, String end)
{
this.getMutableMap().appendString(appendable, start, separator, end);
}
@Override
public MutableBag toBag()
{
return this.getMutableMap().toBag();
}
@Override
public MutableSortedBag toSortedBag()
{
return this.getMutableMap().toSortedBag();
}
@Override
public MutableSortedBag toSortedBag(Comparator super V> comparator)
{
return this.getMutableMap().toSortedBag(comparator);
}
@Override
public > MutableSortedBag toSortedBagBy(Function super V, ? extends R> function)
{
return this.getMutableMap().toSortedBagBy(function);
}
@Override
public LazyIterable asLazy()
{
return this.getMutableMap().asLazy();
}
@Override
public > R into(R target)
{
return this.getMutableMap().into(target);
}
@Override
public MutableList toList()
{
return this.getMutableMap().toList();
}
@Override
public MutableMap toMap(
Function super V, ? extends NK> keyFunction,
Function super V, ? extends NV> valueFunction)
{
return this.getMutableMap().toMap(keyFunction, valueFunction);
}
@Override
public > R toMap(
Function super V, ? extends NK> keyFunction,
Function super V, ? extends NV> valueFunction,
R target)
{
return this.getMutableMap().toMap(keyFunction, valueFunction, target);
}
@Override
public MutableSortedMap toSortedMap(
Function super V, ? extends NK> keyFunction,
Function super V, ? extends NV> valueFunction)
{
return this.getMutableMap().toSortedMap(keyFunction, valueFunction);
}
@Override
public MutableSortedMap toSortedMap(
Comparator super NK> comparator,
Function super V, ? extends NK> keyFunction,
Function super V, ? extends NV> valueFunction)
{
return this.getMutableMap().toSortedMap(comparator, keyFunction, valueFunction);
}
@Override
public , NK, NV> MutableSortedMap toSortedMapBy(
Function super NK, KK> sortBy,
Function super V, ? extends NK> keyFunction,
Function super V, ? extends NV> valueFunction)
{
return this.getMutableMap().toSortedMapBy(sortBy, keyFunction, valueFunction);
}
@Override
public MutableBiMap toBiMap(
Function super V, ? extends NK> keyFunction,
Function super V, ? extends NV> valueFunction)
{
return this.getMutableMap().toBiMap(keyFunction, valueFunction);
}
@Override
public MutableSet toSet()
{
return this.getMutableMap().toSet();
}
@Override
public MutableList toSortedList()
{
return this.getMutableMap().toSortedList();
}
@Override
public MutableList toSortedList(Comparator super V> comparator)
{
return this.getMutableMap().toSortedList(comparator);
}
@Override
public > MutableList toSortedListBy(Function super V, ? extends R> function)
{
return this.getMutableMap().toSortedListBy(function);
}
@Override
public MutableSortedSet toSortedSet()
{
return this.getMutableMap().toSortedSet();
}
@Override
public MutableSortedSet toSortedSet(Comparator super V> comparator)
{
return this.getMutableMap().toSortedSet(comparator);
}
@Override
public > MutableSortedSet toSortedSetBy(Function super V, ? extends R> function)
{
return this.getMutableMap().toSortedSetBy(function);
}
@Override
public RichIterable> chunk(int size)
{
return this.getMutableMap().chunk(size);
}
@Override
public > C collect(Function super V, ? extends R> function, C target)
{
return this.getMutableMap().collect(function, target);
}
@Override
public > C collectIf(Predicate super V> predicate, Function super V, ? extends R> function, C target)
{
return this.getMutableMap().collectIf(predicate, function, target);
}
@Override
public MutableBag collectWith(Function2 super V, ? super P, ? extends VV> function, P parameter)
{
return this.getMutableMap().collectWith(function, parameter);
}
@Override
public > C collectWith(Function2 super V, ? super P, ? extends R> function, P parameter, C targetCollection)
{
return this.getMutableMap().collectWith(function, parameter, targetCollection);
}
@Override
public boolean contains(Object object)
{
return this.containsValue(object);
}
@Override
public boolean containsAllArguments(Object... elements)
{
return this.getMutableMap().containsAllArguments(elements);
}
@Override
public boolean containsAllIterable(Iterable> source)
{
return this.getMutableMap().containsAllIterable(source);
}
@Override
public boolean containsAll(Collection> source)
{
return this.containsAllIterable(source);
}
@Override
public int count(Predicate super V> predicate)
{
return this.getMutableMap().count(predicate);
}
@Override
public
int countWith(Predicate2 super V, ? super P> predicate, P parameter)
{
return this.getMutableMap().countWith(predicate, parameter);
}
@Override
public V detect(Predicate super V> predicate)
{
return this.getMutableMap().detect(predicate);
}
@Override
public
V detectWith(Predicate2 super V, ? super P> predicate, P parameter)
{
return this.getMutableMap().detectWith(predicate, parameter);
}
@Override
public Optional detectOptional(Predicate super V> predicate)
{
return this.getMutableMap().detectOptional(predicate);
}
@Override
public Optional detectWithOptional(Predicate2 super V, ? super P> predicate, P parameter)
{
return this.getMutableMap().detectWithOptional(predicate, parameter);
}
@Override
public V detectIfNone(Predicate super V> predicate, Function0 extends V> function)
{
return this.getMutableMap().detectIfNone(predicate, function);
}
@Override
public V detectWithIfNone(Predicate2 super V, ? super P> predicate, P parameter, Function0 extends V> function)
{
return this.getMutableMap().detectWithIfNone(predicate, parameter, function);
}
@Override
public > C flatCollect(Function super V, ? extends Iterable> function, C target)
{
return this.getMutableMap().flatCollect(function, target);
}
@Override
public V getFirst()
{
return this.getMutableMap().getFirst();
}
@Override
public V getLast()
{
return this.getMutableMap().getLast();
}
@Override
public V getOnly()
{
return this.getMutableMap().getOnly();
}
@Override
public MutableBagMultimap groupBy(Function super V, ? extends R> function)
{
return this.getMutableMap().groupBy(function);
}
@Override
public > C groupBy(Function super V, ? extends R> function, C target)
{
return this.getMutableMap().groupBy(function, target);
}
@Override
public MutableBagMultimap groupByEach(Function super V, ? extends Iterable> function)
{
return this.getMutableMap().groupByEach(function);
}
@Override
public > C groupByEach(Function super V, ? extends Iterable> function, C target)
{
return this.getMutableMap().groupByEach(function, target);
}
@Override
public MutableMap groupByUniqueKey(Function super V, ? extends VV> function)
{
return this.getMutableMap().groupByUniqueKey(function);
}
@Override
public > R groupByUniqueKey(Function super V, ? extends VV> function, R target)
{
return this.getMutableMap().groupByUniqueKey(function, target);
}
@Override
public IV injectInto(IV injectedValue, Function2 super IV, ? super V, ? extends IV> function)
{
return this.getMutableMap().injectInto(injectedValue, function);
}
@Override
public int injectInto(int injectedValue, IntObjectToIntFunction super V> function)
{
return this.getMutableMap().injectInto(injectedValue, function);
}
@Override
public long injectInto(long injectedValue, LongObjectToLongFunction super V> function)
{
return this.getMutableMap().injectInto(injectedValue, function);
}
@Override
public double injectInto(double injectedValue, DoubleObjectToDoubleFunction super V> function)
{
return this.getMutableMap().injectInto(injectedValue, function);
}
@Override
public float injectInto(float injectedValue, FloatObjectToFloatFunction super V> function)
{
return this.getMutableMap().injectInto(injectedValue, function);
}
@Override
public long sumOfInt(IntFunction super V> function)
{
return this.getMutableMap().sumOfInt(function);
}
@Override
public double sumOfFloat(FloatFunction super V> function)
{
return this.getMutableMap().sumOfFloat(function);
}
@Override
public long sumOfLong(LongFunction super V> function)
{
return this.getMutableMap().sumOfLong(function);
}
@Override
public double sumOfDouble(DoubleFunction super V> function)
{
return this.getMutableMap().sumOfDouble(function);
}
@Override
public MutableObjectLongMap sumByInt(Function super V, ? extends V1> groupBy, IntFunction super V> function)
{
return this.getMutableMap().sumByInt(groupBy, function);
}
@Override
public MutableObjectDoubleMap sumByFloat(Function super V, ? extends V1> groupBy, FloatFunction super V> function)
{
return this.getMutableMap().sumByFloat(groupBy, function);
}
@Override
public MutableObjectLongMap sumByLong(Function super V, ? extends V1> groupBy, LongFunction super V> function)
{
return this.getMutableMap().sumByLong(groupBy, function);
}
@Override
public MutableObjectDoubleMap sumByDouble(Function super V, ? extends V1> groupBy, DoubleFunction super V> function)
{
return this.getMutableMap().sumByDouble(groupBy, function);
}
@Override
public String makeString()
{
return this.getMutableMap().makeString();
}
@Override
public String makeString(String separator)
{
return this.getMutableMap().makeString(separator);
}
@Override
public String makeString(String start, String separator, String end)
{
return this.getMutableMap().makeString(start, separator, end);
}
@Override
public V max()
{
return this.getMutableMap().max();
}
@Override
public V max(Comparator super V> comparator)
{
return this.getMutableMap().max(comparator);
}
@Override
public > V maxBy(Function super V, ? extends R> function)
{
return this.getMutableMap().maxBy(function);
}
@Override
public V min()
{
return this.getMutableMap().min();
}
@Override
public V min(Comparator super V> comparator)
{
return this.getMutableMap().min(comparator);
}
@Override
public > V minBy(Function super V, ? extends R> function)
{
return this.getMutableMap().minBy(function);
}
@Override
public Object[] toArray()
{
return this.getMutableMap().toArray();
}
@Override
public T[] toArray(T[] a)
{
return this.getMutableMap().toArray(a);
}
@Override
public >> R zip(Iterable that, R target)
{
return this.getMutableMap().zip(that, target);
}
@Override
public >> R zipWithIndex(R target)
{
return this.getMutableMap().zipWithIndex(target);
}
@Override
public MutableBag collect(Function super V, ? extends R> function)
{
return this.getMutableMap().collect(function);
}
@Override
public MutableBooleanBag collectBoolean(BooleanFunction super V> booleanFunction)
{
return this.getMutableMap().collectBoolean(booleanFunction);
}
@Override
public R collectBoolean(BooleanFunction super V> booleanFunction, R target)
{
return this.getMutableMap().collectBoolean(booleanFunction, target);
}
@Override
public R flatCollectBoolean(
Function super V, ? extends BooleanIterable> function, R target)
{
return this.getMutableMap().flatCollectBoolean(function, target);
}
@Override
public MutableByteBag collectByte(ByteFunction super V> byteFunction)
{
return this.getMutableMap().collectByte(byteFunction);
}
@Override
public R collectByte(ByteFunction super V> byteFunction, R target)
{
return this.getMutableMap().collectByte(byteFunction, target);
}
@Override
public R flatCollectByte(
Function super V, ? extends ByteIterable> function, R target)
{
return this.getMutableMap().flatCollectByte(function, target);
}
@Override
public MutableCharBag collectChar(CharFunction super V> charFunction)
{
return this.getMutableMap().collectChar(charFunction);
}
@Override
public R collectChar(CharFunction super V> charFunction, R target)
{
return this.getMutableMap().collectChar(charFunction, target);
}
@Override
public R flatCollectChar(
Function super V, ? extends CharIterable> function, R target)
{
return this.getMutableMap().flatCollectChar(function, target);
}
@Override
public MutableDoubleBag collectDouble(DoubleFunction super V> doubleFunction)
{
return this.getMutableMap().collectDouble(doubleFunction);
}
@Override
public R collectDouble(DoubleFunction super V> doubleFunction, R target)
{
return this.getMutableMap().collectDouble(doubleFunction, target);
}
@Override
public R flatCollectDouble(
Function super V, ? extends DoubleIterable> function, R target)
{
return this.getMutableMap().flatCollectDouble(function, target);
}
@Override
public MutableFloatBag collectFloat(FloatFunction super V> floatFunction)
{
return this.getMutableMap().collectFloat(floatFunction);
}
@Override
public R collectFloat(FloatFunction super V> floatFunction, R target)
{
return this.getMutableMap().collectFloat(floatFunction, target);
}
@Override
public R flatCollectFloat(
Function super V, ? extends FloatIterable> function, R target)
{
return this.getMutableMap().flatCollectFloat(function, target);
}
@Override
public MutableIntBag collectInt(IntFunction super V> intFunction)
{
return this.getMutableMap().collectInt(intFunction);
}
@Override
public R collectInt(IntFunction super V> intFunction, R target)
{
return this.getMutableMap().collectInt(intFunction, target);
}
@Override
public R flatCollectInt(
Function super V, ? extends IntIterable> function, R target)
{
return this.getMutableMap().flatCollectInt(function, target);
}
@Override
public MutableLongBag collectLong(LongFunction super V> longFunction)
{
return this.getMutableMap().collectLong(longFunction);
}
@Override
public R collectLong(LongFunction super V> longFunction, R target)
{
return this.getMutableMap().collectLong(longFunction, target);
}
@Override
public R flatCollectLong(
Function super V, ? extends LongIterable> function, R target)
{
return this.getMutableMap().flatCollectLong(function, target);
}
@Override
public MutableShortBag collectShort(ShortFunction super V> shortFunction)
{
return this.getMutableMap().collectShort(shortFunction);
}
@Override
public R collectShort(ShortFunction super V> shortFunction, R target)
{
return this.getMutableMap().collectShort(shortFunction, target);
}
@Override
public R flatCollectShort(
Function super V, ? extends ShortIterable> function, R target)
{
return this.getMutableMap().flatCollectShort(function, target);
}
@Override
public MutableBag collectIf(Predicate super V> predicate, Function super V, ? extends R> function)
{
return this.getMutableMap().collectIf(predicate, function);
}
@Override
public MutableBag flatCollect(Function super V, ? extends Iterable> function)
{
return this.getMutableMap().flatCollect(function);
}
@Override
public MutableBag select(Predicate super V> predicate)
{
return this.getMutableMap().select(predicate);
}
@Override
public > R select(Predicate super V> predicate, R target)
{
return this.getMutableMap().select(predicate, target);
}
@Override
public MutableBag selectWith(Predicate2 super V, ? super P> predicate, P parameter)
{
return this.getMutableMap().selectWith(predicate, parameter);
}
@Override
public > R selectWith(Predicate2 super V, ? super P> predicate, P parameter, R targetCollection)
{
return this.getMutableMap().selectWith(predicate, parameter, targetCollection);
}
@Override
public MutableBag reject(Predicate super V> predicate)
{
return this.getMutableMap().reject(predicate);
}
@Override
public > R reject(Predicate super V> predicate, R target)
{
return this.getMutableMap().reject(predicate, target);
}
@Override
public MutableBag rejectWith(Predicate2 super V, ? super P> predicate, P parameter)
{
return this.getMutableMap().rejectWith(predicate, parameter);
}
@Override
public > R rejectWith(Predicate2 super V, ? super P> predicate, P parameter, R targetCollection)
{
return this.getMutableMap().rejectWith(predicate, parameter, targetCollection);
}
@Override
public MutableBag selectInstancesOf(Class clazz)
{
return this.getMutableMap().selectInstancesOf(clazz);
}
@Override
public PartitionMutableBag partition(Predicate super V> predicate)
{
return this.getMutableMap().partition(predicate);
}
@Override
public PartitionMutableBag partitionWith(Predicate2 super V, ? super P> predicate, P parameter)
{
return this.getMutableMap().partitionWith(predicate, parameter);
}
/**
* @deprecated in 6.0. Use {@link OrderedIterable#zip(Iterable)} instead.
*/
@Override
@Deprecated
public MutableBag> zip(Iterable that)
{
return this.getMutableMap().zip(that);
}
/**
* @deprecated in 6.0. Use {@link OrderedIterable#zipWithIndex()} instead.
*/
@Override
@Deprecated
public MutableSet> zipWithIndex()
{
return this.getMutableMap().zipWithIndex();
}
@Override
public MutableMap aggregateInPlaceBy(
Function super V, ? extends K2> groupBy,
Function0 extends V2> zeroValueFactory,
Procedure2 super V2, ? super V> mutatingAggregator)
{
return this.getMutableMap().aggregateInPlaceBy(groupBy, zeroValueFactory, mutatingAggregator);
}
@Override
public MutableMap aggregateBy(
Function super V, ? extends K2> groupBy,
Function0 extends V2> zeroValueFactory,
Function2 super V2, ? super V, ? extends V2> nonMutatingAggregator)
{
return this.getMutableMap().aggregateBy(groupBy, zeroValueFactory, nonMutatingAggregator);
}
@Override
public MutableMap aggregateBy(
Function super K, ? extends K1> keyFunction,
Function super V, ? extends V1> valueFunction,
Function0 extends V2> zeroValueFactory,
Function2 super V2, ? super V1, ? extends V2> nonMutatingAggregator)
{
return this.getMutableMap().aggregateBy(keyFunction, valueFunction, zeroValueFactory, nonMutatingAggregator);
}
}