Class CharArrayHashMap<V>

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.util.CharArrayHashMap<V>
All Implemented Interfaces:
Serializable, Cloneable, CharArrayMapper<V>

public final class CharArrayHashMap<V> extends Object implements CharArrayMapper<V>, Serializable
See Also:
Serialized Form
  • Constructor Details

    • CharArrayHashMap

      public CharArrayHashMap(int initialCapacity)
  • Method Details

    • values

      public Collection<V> values()
      Description copied from interface: CharArrayMapper
      Returns a copied collection of values.
      Specified by:
      values in interface CharArrayMapper<V>
      Returns:
      all values in undefined order. The order is not guaranteed to be stable.
    • keys

      public Collection<char[]> keys()
      Description copied from interface: CharArrayMapper
      Returns a copied collection of keys.
      Specified by:
      keys in interface CharArrayMapper<V>
      Returns:
      all keys in undefined order. The order is not guaranteed to be stable.
    • containsKey

      public boolean containsKey(char[] key)
      Specified by:
      containsKey in interface CharArrayMapper<V>
    • get

      public V get(char[] key)
      Specified by:
      get in interface CharArrayMapper<V>
    • put

      public V put(char[] key, V value)
      Specified by:
      put in interface CharArrayMapper<V>
      Returns:
      the previous value
    • size

      public int size()
      Specified by:
      size in interface CharArrayMapper<V>
      Returns:
      the number of keys
    • toString

      public String toString()
      Overrides:
      toString in class Object