Lines Matching full:bimap
1221 * Returns a synchronized (thread-safe) bimap backed by the specified bimap
1223 * critical that <b>all</b> access to the backing bimap is accomplished
1224 * through the returned bimap.
1227 * mutex when accessing any of the return bimap's collection views:
1230 * BiMap<K, V> m = Synchronized.biMap(
1244 * @param bimap the bimap to be wrapped in a synchronized view
1245 * @return a synchronized view of the specified bimap
1247 public static <K, V> BiMap<K, V> biMap(
1248 BiMap<K, V> bimap, @Nullable Object mutex) {
1249 return new SynchronizedBiMap<K, V>(bimap, mutex, null);
1252 /** @see Synchronized#biMap */
1254 implements BiMap<K, V>, Serializable {
1256 private transient BiMap<V, K> inverse;
1259 BiMap<K, V> delegate, @Nullable Object mutex,
1260 @Nullable BiMap<V, K> inverse) {
1265 @Override protected BiMap<K, V> delegate() {
1266 return (BiMap<K, V>) super.delegate();
1284 public BiMap<V, K> inverse() {