Class CamelCaseMap

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,Object>
com.gsitm.ustra.java.data.mybatis.utils.CamelCaseMap
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class CamelCaseMap extends LinkedHashMap<String,Object>
키 값을 underscore -> camelcase로 변환
See Also:
  • Constructor Details

    • CamelCaseMap

      public CamelCaseMap()
      Camel case map.
  • Method Details

    • put

      public Object put(String key, Object value)
      Specified by:
      put in interface Map<String,Object>
      Overrides:
      put in class HashMap<String,Object>
    • getString

      public String getString(String key)
      Gets the string.
      Parameters:
      key - the key
      Returns:
      the string
    • getInt

      public int getInt(String key)
      Gets the int.
      Parameters:
      key - the key
      Returns:
      the int
    • getLong

      public long getLong(String key)
      Gets the long.
      Parameters:
      key - the key
      Returns:
      the long
    • getFloat

      public float getFloat(String key)
      Gets the float.
      Parameters:
      key - the key
      Returns:
      the float
    • getDouble

      public double getDouble(String key)
      Gets the double.
      Parameters:
      key - the key
      Returns:
      the double