Lines Matching defs:map

708         SynchronizedMap(Map<K, V> map) {
709 m = map;
713 SynchronizedMap(Map<K, V> map, Object mutex) {
714 m = map;
780 public void putAll(Map<? extends K, ? extends V> map) {
782 m.putAll(map);
857 SynchronizedSortedMap(SortedMap<K, V> map) {
858 super(map);
859 sm = map;
862 SynchronizedSortedMap(SortedMap<K, V> map, Object mutex) {
863 super(map, mutex);
864 sm = map;
1305 UnmodifiableMap(Map<K, V> map) {
1306 m = map;
1351 public void putAll(Map<? extends K, ? extends V> map) {
1398 UnmodifiableSortedMap(SortedMap<K, V> map) {
1399 super(map);
1400 sm = map;
1922 * Returns a Map containing the specified key and value. The map cannot be
1923 * modified. The map is serializable.
2282 * Returns a wrapper on the specified map which synchronizes all access to
2283 * the map.
2285 * @param map
2286 * the map to wrap in a synchronized map.
2289 public static <K, V> Map<K, V> synchronizedMap(Map<K, V> map) {
2290 if (map == null) {
2293 return new SynchronizedMap<K, V>(map);
2312 * Returns a wrapper on the specified sorted map which synchronizes all
2313 * access to the sorted map.
2315 * @param map
2316 * the sorted map to wrap in a synchronized sorted map.
2317 * @return a synchronized sorted map.
2320 SortedMap<K, V> map) {
2321 if (map == null) {
2324 return new SynchronizedSortedMap<K, V>(map);
2381 * Returns a wrapper on the specified map which throws an
2383 * modify the map.
2385 * @param map
2386 * the map to wrap in an unmodifiable map.
2387 * @return a unmodifiable map.
2391 Map<? extends K, ? extends V> map) {
2392 if (map == null) {
2395 return new UnmodifiableMap<K, V>((Map<K, V>) map);
2416 * Returns a wrapper on the specified sorted map which throws an
2418 * modify the sorted map.
2420 * @param map
2421 * the sorted map to wrap in an unmodifiable sorted map.
2422 * @return a unmodifiable sorted map
2426 SortedMap<K, ? extends V> map) {
2427 if (map == null) {
2430 return new UnmodifiableSortedMap<K, V>((SortedMap<K, V>) map);
2535 * Returns a dynamically typesafe view of the specified map. Trying to
2536 * insert an element of the wrong type into this map throws a
2541 * the map to be wrapped in a typesafe map.
2546 * @return a typesafe map.
2589 * Returns a dynamically typesafe view of the specified sorted map. Trying
2590 * to insert an element of the wrong type into this sorted map throws a
2595 * the sorted map to be wrapped in a typesafe sorted map.
2600 * @return a typesafe sorted map.
3094 * Class represents a dynamically typesafe view of the specified map.
3107 * Constructs a dynamically typesafe view of the specified map.
3110 * the map for which a dynamically typesafe view is to be
3175 public void putAll(Map<? extends K, ? extends V> map) {
3176 int size = map.size();
3181 Iterator<? extends Map.Entry<? extends K, ? extends V>> it = map
3247 * Class represents a dynamically typesafe view of the specified map
3257 * Constructs a dynamically typesafe view of the specified map
3261 * the map entry for which a dynamically typesafe view is