org.opoo.util
类 MapUtils

java.lang.Object
  继承者 org.opoo.util.MapUtils

public abstract class MapUtils
extends Object

作者:
Alex Lin

构造方法摘要
MapUtils()
           
 
方法摘要
static
<K,V> boolean
get(Map<K,V> map, K key, boolean defaultValue)
           
static
<K,V> V
get(Map<K,V> map, K key, V defaultValue)
           
static
<K,V> K
getKeyByValue(Map<K,V> map, V value)
           
static
<K,V> void
put(Map<K,V> map, K key, V value)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

MapUtils

public MapUtils()
方法详细信息

put

public static <K,V> void put(Map<K,V> map,
                             K key,
                             V value)

get

public static <K,V> boolean get(Map<K,V> map,
                                K key,
                                boolean defaultValue)

get

public static <K,V> V get(Map<K,V> map,
                          K key,
                          V defaultValue)

getKeyByValue

public static <K,V> K getKeyByValue(Map<K,V> map,
                                    V value)


Copyright © 2013 Opoo.org. All Rights Reserved.