TypeString

object TypeString

Functions to map type strings for Java and Scala.

Since

0.1.0

class Object
trait Matchable
class Any

Value members

Concrete methods

def mapType(s: String): String

Maps type string representation from Java to Scala.

Maps type string representation from Java to Scala.

Value Params
s

String with Java type representation.

Returns

Type name.

Since

0.1.0

def typeDescription(vectorClass: Class[_], containsNull: Boolean, javaType: Boolean): String

String representation of the vector type with (angular) brackets and (if nullable) question mark.

String representation of the vector type with (angular) brackets and (if nullable) question mark.

Value Params
containsNull

Whether the vector contains undefined values.

javaType

If true, returns the type following Java conventions, otherwise Scala types.

vectorClass

Class object of SeriesData vector.

Returns

Name of class or Scala-mapped primitive name.

Since

0.1.0

def typeString(vectorClass: Class[_], javaType: Boolean): String

String representation of the vector type.

String representation of the vector type.

Value Params
javaType

If true, returns the type following Java conventions, otherwise Scala types.

vectorClass

Class object of SeriesData vector.

Returns

Name of class or Scala-mapped primitive name.

Since

0.1.0

def typeString(value: Any): String

Scala type string representation from Java reflection.

Scala type string representation from Java reflection.

Value Params
value

Value to inspect.

Returns

Type name.

Since

0.1.0