public class SynchronizedBiMap<K,V> extends AbstractSynchronizedMapIterable<K,V> implements MutableBiMap<K,V>, Serializable
add, aggregateBy, aggregateInPlaceBy, clear, containsKey, containsValue, countBy, countByEach, countByWith, detect, detectOptional, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getIfAbsentPut, getIfAbsentPut, getIfAbsentPutWith, getIfAbsentPutWithKey, getIfAbsentValue, getIfAbsentWith, ifPresentApply, keyValuesView, put, putAll, putPair, remove, removeAllKeys, removeIf, removeKey, sumByDouble, sumByFloat, sumByInt, sumByLong, updateValue, updateValueWithallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collect, collectBoolean, collectBoolean, collectByte, collectByte, collectChar, collectChar, collectDouble, collectDouble, collectFloat, collectFloat, collectIf, collectIf, collectInt, collectInt, collectLong, collectLong, collectShort, collectShort, collectWith, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, equals, flatCollect, flatCollect, forEach, forEachWith, forEachWithIndex, getFirst, getLast, getOnly, groupBy, groupByEach, groupByUniqueKey, hashCode, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, iterator, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, select, selectWith, size, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexputadd, aggregateBy, aggregateInPlaceBy, countBy, countByEach, countByWith, getIfAbsentPut, getIfAbsentPut, getIfAbsentPutWith, getIfAbsentPutWithKey, putPair, removeAllKeys, removeIf, removeKey, sumByDouble, sumByFloat, sumByInt, sumByLong, updateValue, updateValueWithcontainsKey, containsValue, detect, detectOptional, equals, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getIfAbsentValue, getIfAbsentWith, hashCode, ifPresentApply, keyValuesView, parallelStream, spliterator, stream, toStringallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collect, collectBoolean, collectBoolean, collectByte, collectByte, collectChar, collectChar, collectDouble, collectDouble, collectFloat, collectFloat, collectIf, collectIf, collectInt, collectInt, collectLong, collectLong, collectShort, collectShort, collectWith, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollect, flatCollectWith, flatCollectWith, forEach, getAny, getFirst, getLast, getOnly, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reduce, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, zip, zipWithIndexforEach, forEachWith, forEachWithIndexclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizepublic static <K,V> SynchronizedBiMap<K,V> of(MutableBiMap<K,V> map)
public MutableBiMap<K,V> asSynchronized()
asSynchronized in interface MutableBiMap<K,V>asSynchronized in interface MutableMapIterable<K,V>public MutableBiMap<K,V> asUnmodifiable()
asUnmodifiable in interface MutableBiMap<K,V>asUnmodifiable in interface MutableMapIterable<K,V>public MutableBiMap<K,V> clone()
public MutableBiMap<K,V> tap(Procedure<? super V> procedure)
tap in interface BiMap<K,V>tap in interface MutableBiMap<K,V>tap in interface MapIterable<K,V>tap in interface MutableMapIterable<K,V>tap in interface RichIterable<V>tap in class AbstractSynchronizedMapIterable<K,V>public <K2,V2> MutableBiMap<K2,V2> collect(Function2<? super K,? super V,Pair<K2,V2>> function)
public <R> MutableBiMap<K,R> collectValues(Function2<? super K,? super V,? extends R> function)
collectValues in interface BiMap<K,V>collectValues in interface MutableBiMap<K,V>collectValues in interface MapIterable<K,V>collectValues in interface MutableMapIterable<K,V>public MutableSet<V> select(Predicate<? super V> predicate)
select in interface BiMap<K,V>select in interface MutableBiMap<K,V>select in interface MutableMapIterable<K,V>select in interface RichIterable<V>select in class AbstractSynchronizedMapIterable<K,V>public MutableBiMap<K,V> select(Predicate2<? super K,? super V> predicate)
public <P> MutableSet<V> selectWith(Predicate2<? super V,? super P> predicate, P parameter)
selectWith in interface BiMap<K,V>selectWith in interface MutableBiMap<K,V>selectWith in interface MutableMapIterable<K,V>selectWith in interface RichIterable<V>selectWith in class AbstractSynchronizedMapIterable<K,V>public <S> MutableSet<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface BiMap<K,V>selectInstancesOf in interface MutableBiMap<K,V>selectInstancesOf in interface MutableMapIterable<K,V>selectInstancesOf in interface RichIterable<V>selectInstancesOf in class AbstractSynchronizedMapIterable<K,V>public MutableSet<V> reject(Predicate<? super V> predicate)
reject in interface BiMap<K,V>reject in interface MutableBiMap<K,V>reject in interface MutableMapIterable<K,V>reject in interface RichIterable<V>reject in class AbstractSynchronizedMapIterable<K,V>public MutableBiMap<K,V> reject(Predicate2<? super K,? super V> predicate)
public <P> MutableSet<V> rejectWith(Predicate2<? super V,? super P> predicate, P parameter)
rejectWith in interface BiMap<K,V>rejectWith in interface MutableBiMap<K,V>rejectWith in interface MutableMapIterable<K,V>rejectWith in interface RichIterable<V>rejectWith in class AbstractSynchronizedMapIterable<K,V>public PartitionMutableSet<V> partition(Predicate<? super V> predicate)
partition in interface BiMap<K,V>partition in interface MutableBiMap<K,V>partition in interface MutableMapIterable<K,V>partition in interface RichIterable<V>partition in class AbstractSynchronizedMapIterable<K,V>public <P> PartitionMutableSet<V> partitionWith(Predicate2<? super V,? super P> predicate, P parameter)
partitionWith in interface BiMap<K,V>partitionWith in interface MutableBiMap<K,V>partitionWith in interface RichIterable<V>partitionWith in class AbstractSynchronizedRichIterable<V>public <V1> MutableSetMultimap<V1,V> groupBy(Function<? super V,? extends V1> function)
groupBy in interface BiMap<K,V>groupBy in interface MutableBiMap<K,V>groupBy in interface MutableMapIterable<K,V>groupBy in interface RichIterable<V>groupBy in class AbstractSynchronizedMapIterable<K,V>public <V1> MutableSetMultimap<V1,V> groupByEach(Function<? super V,? extends Iterable<V1>> function)
groupByEach in interface BiMap<K,V>groupByEach in interface MutableBiMap<K,V>groupByEach in interface MutableMapIterable<K,V>groupByEach in interface RichIterable<V>groupByEach in class AbstractSynchronizedMapIterable<K,V>public MutableSetMultimap<V,K> flip()
public MutableBiMap<K,V> newEmpty()
newEmpty in interface MutableBiMap<K,V>newEmpty in interface MutableMapIterable<K,V>public MutableBiMap<V,K> inverse()
public MutableBiMap<V,K> flipUniqueValues()
flipUniqueValues in interface BiMap<K,V>flipUniqueValues in interface MutableBiMap<K,V>flipUniqueValues in interface MapIterable<K,V>flipUniqueValues in interface MutableMapIterable<K,V>public RichIterable<K> keysView()
keysView in interface MapIterable<K,V>public RichIterable<V> valuesView()
valuesView in interface MapIterable<K,V>public ImmutableBiMap<K,V> toImmutable()
toImmutable in interface BiMap<K,V>toImmutable in interface MapIterable<K,V>toImmutable in interface MutableMapIterable<K,V>@Deprecated public MutableSet<Pair<V,Integer>> zipWithIndex()
OrderedIterable.zipWithIndex() instead.zipWithIndex in interface BiMap<K,V>zipWithIndex in interface MutableBiMap<K,V>zipWithIndex in interface MutableMapIterable<K,V>zipWithIndex in interface RichIterable<V>zipWithIndex in class AbstractSynchronizedMapIterable<K,V>public <VV> MutableBiMap<VV,V> groupByUniqueKey(Function<? super V,? extends VV> function)
groupByUniqueKey in interface BiMap<K,V>groupByUniqueKey in interface MutableBiMap<K,V>groupByUniqueKey in interface MutableMapIterable<K,V>groupByUniqueKey in interface RichIterable<V>groupByUniqueKey in class AbstractSynchronizedMapIterable<K,V>@Deprecated public <S> MutableSet<Pair<V,S>> zip(Iterable<S> that)
OrderedIterable.zip(Iterable) instead.zip in interface BiMap<K,V>zip in interface MutableBiMap<K,V>zip in interface MutableMapIterable<K,V>zip in interface RichIterable<V>zip in class AbstractSynchronizedMapIterable<K,V>public MutableBiMap<K,V> withKeyValue(K key, V value)
withKeyValue in interface MutableBiMap<K,V>withKeyValue in interface MutableMapIterable<K,V>public MutableBiMap<K,V> withAllKeyValues(Iterable<? extends Pair<? extends K,? extends V>> keyValues)
withAllKeyValues in interface MutableBiMap<K,V>withAllKeyValues in interface MutableMapIterable<K,V>public MutableBiMap<K,V> withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs)
withAllKeyValueArguments in interface MutableBiMap<K,V>withAllKeyValueArguments in interface MutableMapIterable<K,V>public MutableBiMap<K,V> withoutKey(K key)
withoutKey in interface MutableBiMap<K,V>withoutKey in interface MutableMapIterable<K,V>public MutableBiMap<K,V> withoutAllKeys(Iterable<? extends K> keys)
withoutAllKeys in interface MutableBiMap<K,V>withoutAllKeys in interface MutableMapIterable<K,V>Copyright © 2004–2020. All rights reserved.