Klasse ListOrderedMapCI<T>

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,T>
org.apache.torque.util.ListOrderedMapCI<T>
Alle implementierten Schnittstellen:
Serializable, Cloneable, Map<String,T>

public class ListOrderedMapCI<T> extends LinkedHashMap<String,T>
A subclass of LinkedHashMap that has case insensitive String key methods.
Version:
$Id: ListOrderedMapCI.java 1839288 2018-08-27 09:48:33Z tv $
Autor:
Greg Monroe
Siehe auch:
  • Konstruktordetails

    • ListOrderedMapCI

      public ListOrderedMapCI()
  • Methodendetails

    • get

      public T get(Object key)
      Get the object associated with this key.
      Angegeben von:
      get in Schnittstelle Map<String,T>
      Setzt außer Kraft:
      get in Klasse LinkedHashMap<String,T>
      Parameter:
      key - A case insensitive String.
      Gibt zurück:
      The value for this key
    • put

      public T put(String key, T value)
      Adds a value to the end of the list with the specified key.
      Angegeben von:
      put in Schnittstelle Map<String,T>
      Setzt außer Kraft:
      put in Klasse HashMap<String,T>
      Parameter:
      key - A case insensitive String.
      value - The value to add
      Gibt zurück:
      The value for previously mapped to this key
    • remove

      public T remove(Object key)
      Removes the mapping for the specified key.
      Angegeben von:
      remove in Schnittstelle Map<String,T>
      Setzt außer Kraft:
      remove in Klasse HashMap<String,T>
      Parameter:
      key - A case insensitive String.
      Gibt zurück:
      the removed value, or null if none existed
    • containsKey

      public boolean containsKey(Object key)
      Test if the key exists in the mapping.
      Angegeben von:
      containsKey in Schnittstelle Map<String,T>
      Setzt außer Kraft:
      containsKey in Klasse HashMap<String,T>
      Parameter:
      key - The case insensitive key to test for.
      Gibt zurück:
      True if the key exists.