class CharArrayMap[V] extends AbstractMap[AnyRef, V]

A simple class that stores key Strings as char[]'s in a hash table. Note that this is not a general purpose class. For example, it cannot remove items from the map, nor does it resize its hash table to be smaller, etc. It is designed to be quick to retrieve items by char[] keys without the necessity of converting to a String first.

Linear Supertypes
AbstractMap[AnyRef, V], Map[AnyRef, V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CharArrayMap
  2. AbstractMap
  3. Map
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CharArrayMap(c: Map[_, _ <: V], ignoreCase: Boolean)

    Creates a map from the mappings in another map.

    Creates a map from the mappings in another map.

    c

    a map whose mappings to be copied

    ignoreCase

    false if and only if the set should be case sensitive otherwise true.

Type Members

  1. class EntryIterator extends Iterator[Entry[AnyRef, V]]

    public iterator class so efficient methods are exposed to users

  2. final class EntrySet extends AbstractSet[Entry[AnyRef, V]]

    public EntrySet class so efficient methods are exposed to users

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clear(): Unit

    Clears all entries in this map.

    Clears all entries in this map. This method is supported for reusing, but not Map#remove.

    Definition Classes
    CharArrayMap → AbstractMap → Map
  6. def clone(): AnyRef
    Attributes
    protected[java.util]
    Definition Classes
    AbstractMap → AnyRef
    Annotations
    @throws( ... )
  7. def compute(arg0: AnyRef, arg1: BiFunction[_ >: AnyRef, _ >: V, _ <: V]): V
    Definition Classes
    Map
  8. def computeIfAbsent(arg0: AnyRef, arg1: Function[_ >: AnyRef, _ <: V]): V
    Definition Classes
    Map
  9. def computeIfPresent(arg0: AnyRef, arg1: BiFunction[_ >: AnyRef, _ >: V, _ <: V]): V
    Definition Classes
    Map
  10. def containsKey(o: Any): Boolean
    Definition Classes
    CharArrayMap → AbstractMap → Map
  11. def containsKey(cs: CharSequence): Boolean

    true if the CharSequence is in the #keySet()

    true if the CharSequence is in the #keySet()

  12. def containsKey(text: Array[Char], off: Int, len: Int): Boolean

    true if the len chars of text starting at off are in the #keySet()

    true if the len chars of text starting at off are in the #keySet()

  13. def containsValue(arg0: Any): Boolean
    Definition Classes
    AbstractMap → Map
  14. final def entrySet(): EntrySet
    Definition Classes
    CharArrayMap → AbstractMap → Map
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AbstractMap → Map → AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def forEach(arg0: BiConsumer[_ >: AnyRef, _ >: V]): Unit
    Definition Classes
    Map
  19. def get(o: Any): V
    Definition Classes
    CharArrayMap → AbstractMap → Map
  20. def get(cs: CharSequence): V

    returns the value of the mapping of the chars inside this CharSequence

    returns the value of the mapping of the chars inside this CharSequence

  21. def get(text: Array[Char], off: Int, len: Int): V

    returns the value of the mapping of len chars of text starting at off

    returns the value of the mapping of len chars of text starting at off

  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  23. def getOrDefault(arg0: Any, arg1: V): V
    Definition Classes
    Map
  24. def hashCode(): Int
    Definition Classes
    AbstractMap → Map → AnyRef → Any
  25. def isEmpty(): Boolean
    Definition Classes
    AbstractMap → Map
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def keySet(): CharArraySet

    Returns an CharArraySet view on the map's keys.

    Returns an CharArraySet view on the map's keys. The set will use the same matchVersion as this map.

    Definition Classes
    CharArrayMap → AbstractMap → Map
  28. def merge(arg0: AnyRef, arg1: V, arg2: BiFunction[_ >: V, _ >: V, _ <: V]): V
    Definition Classes
    Map
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  32. def put(text: Array[Char], value: V): V

    Add the given mapping.

    Add the given mapping. If ignoreCase is true for this Set, the text array will be directly modified. The user should never modify this text array after calling this method.

  33. def put(text: String, value: V): V

    Add the given mapping.

  34. def put(o: Any, value: V): V
    Definition Classes
    CharArrayMap → AbstractMap → Map
  35. def put(text: CharSequence, value: V): V

    Add the given mapping.

  36. def putAll(arg0: Map[_ <: AnyRef, _ <: V]): Unit
    Definition Classes
    AbstractMap → Map
  37. def putIfAbsent(arg0: AnyRef, arg1: V): V
    Definition Classes
    Map
  38. def remove(o: Any): V
    Definition Classes
    CharArrayMap → AbstractMap → Map
  39. def remove(arg0: Any, arg1: Any): Boolean
    Definition Classes
    Map
  40. def replace(arg0: AnyRef, arg1: V): V
    Definition Classes
    Map
  41. def replace(arg0: AnyRef, arg1: V, arg2: V): Boolean
    Definition Classes
    Map
  42. def replaceAll(arg0: BiFunction[_ >: AnyRef, _ >: V, _ <: V]): Unit
    Definition Classes
    Map
  43. def size(): Int
    Definition Classes
    CharArrayMap → AbstractMap → Map
  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    CharArrayMap → AbstractMap → AnyRef → Any
  46. def values(): Collection[V]
    Definition Classes
    AbstractMap → Map
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AbstractMap[AnyRef, V]

Inherited from Map[AnyRef, V]

Inherited from AnyRef

Inherited from Any

Ungrouped