object ArrayBasedMapData extends Serializable
- Alphabetic
- By Inheritance
- ArrayBasedMapData
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(keys: Array[_], values: Array[_]): ArrayBasedMapData
Creates a ArrayBasedMapData from a key and value array.
Creates a ArrayBasedMapData from a key and value array.
Note that, user is responsible to guarantee that the key array does not have duplicated elements, otherwise the behavior is undefined.
- def apply(iterator: Iterator[Tuple2[_, _]], size: Int, keyConverter: (Any) => Any, valueConverter: (Any) => Any): ArrayBasedMapData
Creates a ArrayBasedMapData by applying the given converters over each (key -> value) pair from the given iterator
Creates a ArrayBasedMapData by applying the given converters over each (key -> value) pair from the given iterator
Note that, user is responsible to guarantee that the key array does not have duplicated elements, otherwise the behavior is undefined.
- iterator
Input iterator
- size
Number of elements
- keyConverter
This function is applied over all the keys extracted from the given iterator to obtain the output map's keys
- valueConverter
This function is applied over all the values extracted from the given iterator to obtain the output map's values
- def apply(map: Map[_, _], keyConverter: (Any) => Any = identity, valueConverter: (Any) => Any = identity): ArrayBasedMapData
Creates a ArrayBasedMapData by applying the given converters over each (key -> value) pair of the input map
Creates a ArrayBasedMapData by applying the given converters over each (key -> value) pair of the input map
- map
Input map
- keyConverter
This function is applied over all the keys of the input map to obtain the output map's keys
- valueConverter
This function is applied over all the values of the input map to obtain the output map's values
- def apply[K, V](javaMap: Map[K, V], keyConverter: (Any) => Any, valueConverter: (Any) => Any): ArrayBasedMapData
Creates a ArrayBasedMapData by applying the given converters over each (key -> value) pair of the input java.util.Map
Creates a ArrayBasedMapData by applying the given converters over each (key -> value) pair of the input java.util.Map
- javaMap
Input map
- keyConverter
This function is applied over all the keys of the input map to obtain the output map's keys
- valueConverter
This function is applied over all the values of the input map to obtain the output map's values
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toJavaMap(keys: Array[Any], values: Array[Any]): Map[Any, Any]
- def toScalaMap(keys: Seq[Any], values: Seq[Any]): Map[Any, Any]
- def toScalaMap(keys: Array[Any], values: Array[Any]): Map[Any, Any]
- def toScalaMap(map: ArrayBasedMapData): Map[Any, Any]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()