/** * @see #put(Object, Object) */ public V put(K key1, K key2, K key3, V value) { if (value == null) { throw new NullPointerException(); } int hash = hash(key1, key2, key3, null); return segmentFor(hash).put(key1, key2, key3, null, hash, value, false); }
/** * @see #putIfAbsent(Object, Object) */ public V putIfAbsent(K key1, K key2, K key3, V value) { if (value == null) { throw new NullPointerException(); } int hash = hash(key1, key2, key3, null); return segmentFor(hash).put(key1, key2, key3, null, hash, value, true); }
/** * @see #put(Object, Object) */ public V put(K key1, K key2, K key3, K key4, V value) { if (value == null) { throw new NullPointerException(); } int hash = hash(key1, key2, key3, key4); return segmentFor(hash).put(key1, key2, key3, key4, hash, value, false); }
/** * @see #put(Object, Object) */ public V put(K key1, K key2, V value) { if (value == null) { throw new NullPointerException(); } int hash = hash(key1, key2, null, null); return segmentFor(hash).put(key1, key2, null, null, hash, value, false); }
/** * @see #putIfAbsent(Object, Object) */ public V putIfAbsent(K key1, K key2, V value) { if (value == null) { throw new NullPointerException(); } int hash = hash(key1, key2, null, null); return segmentFor(hash).put(key1, key2, null, null, hash, value, true); }
/** * @see #putIfAbsent(Object, Object) */ public V putIfAbsent(K key1, K key2, K key3, V value) { if (value == null) { throw new NullPointerException(); } int hash = hash(key1, key2, key3, null); return segmentFor(hash).put(key1, key2, key3, null, hash, value, true); }
/** * @see #putIfAbsent(Object, Object) */ public V putIfAbsent(K key1, K key2, K key3, K key4, V value) { if (value == null) { throw new NullPointerException(); } int hash = hash(key1, key2, key3, key4); return segmentFor(hash).put(key1, key2, key3, key4, hash, value, true); }
/** * @see #containsKey(Object) */ public boolean containsKey(Object key1, Object key2, Object key3) { int hash = hash(key1, key2, key3, null); return segmentFor(hash).containsKey(key1, key2, key3, null, hash); }
/** * @see #containsKey(Object) */ public boolean containsKey(Object key1, Object key2, Object key3, Object key4) { int hash = hash(key1, key2, key3, key4); return segmentFor(hash).containsKey(key1, key2, key3, key4, hash); }
/** * @see Map#remove(Object) */ public V remove(K key1, K key2) { int hash = hash(key1, key2, null, null); return segmentFor(hash).remove(key1, key2, null, null, hash, null); }
/** * @see Map#remove(Object) */ public V remove(K key1, K key2, K key3) { int hash = hash(key1, key2, key3, null); return segmentFor(hash).remove(key1, key2, null, null, hash, null); }
/** * @see #get(Object) */ public V get(Object key1, Object key2, Object key3, Object key4) { int hash = hash(key1, key2, key3, key4); return segmentFor(hash).get(key1, key2, key3, key4, hash); }
/** * @see #containsKey(Object) */ public boolean containsKey(Object key1, Object key2, Object key3, Object key4) { int hash = hash(key1, key2, key3, key4); return segmentFor(hash).containsKey(key1, key2, key3, key4, hash); }
/** * @see Map#remove(Object) */ public V remove(K key) { int hash = hash(key, null, null, null); return segmentFor(hash).remove(key, null, null, null, hash, null); }
/** * @see Map#remove(Object) */ public V remove(K key1, K key2, K key3) { int hash = hash(key1, key2, key3, null); return segmentFor(hash).remove(key1, key2, null, null, hash, null); }
/** * @see #get(Object) */ public V get(Object key1, Object key2) { int hash = hash(key1, key2, null, null); return segmentFor(hash).get(key1, key2, null, null, hash); }
/** * @see #get(Object) */ public V get(Object key1, Object key2, Object key3) { int hash = hash(key1, key2, key3, null); return segmentFor(hash).get(key1, key2, key3, null, hash); }
/** * @see #get(Object) */ public V get(Object key1, Object key2, Object key3) { int hash = hash(key1, key2, key3, null); return segmentFor(hash).get(key1, key2, key3, null, hash); }
/** * @see #containsKey(Object) */ public boolean containsKey(Object key1, Object key2) { int hash = hash(key1, key2, null, null); return segmentFor(hash).containsKey(key1, key2, null, null, hash); }
/** * @see Map#remove(Object) */ public V remove(K key) { int hash = hash(key, null, null, null); return segmentFor(hash).remove(key, null, null, null, hash, null); }