Java Map Create map(Map map, Object key)

Here you can find the source of map(Map map, Object key)

Description

map

License

Open Source License

Declaration

public static Object map(Map map, Object key) 

Method Source Code


//package com.java2s;

import java.util.Map;

public class Main {
    public static Object map(Map map, Object key) {
        if (map == null) {
            return null;
        }// w  w  w  .j a v  a  2 s.  c o m
        return map.get(key);
    }
}

Related

  1. map(K key0, V value0)
  2. map(K key1, V value1, Object... objects)
  3. map(K[] keys, V[] values)
  4. map(M map, K key, V value)
  5. map(Map map)
  6. map(Map.Entry... entries)
  7. map(Map.Entry... entries)
  8. map(Map accumulator, Key key, Value value)
  9. map(Map outcomeMapping, String line, int firstTabIdx)