Class KVP

All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class KVP extends LinkedHashMap<String,Object>
A linked HashMap set up for easy construction.

Example: KVP map = new KVP("foo",1,"bar,2);

Author:
jody
See Also:
  • Constructor Details

    • KVP

      public KVP(Object... pairs)
      A linked HashMap set up for easy construction.

      Example: KVP map = new KVP("foo",1,"bar,2);

  • Method Details

    • add

      public void add(String key, Object value)
      An additive version of put; will add additional values resulting in a list.