scala.runtime

object ScalaRunTime

[source: scala/runtime/ScalaRunTime.scala]

object ScalaRunTime
extends AnyRef
Value Summary
val BooleanTag : java.lang.String
val ByteTag : java.lang.String
Names for primitive types, used by array unboxing
val CharTag : java.lang.String
val DoubleTag : java.lang.String
val FloatTag : java.lang.String
val IntTag : java.lang.String
val LongTag : java.lang.String
val ShortTag : java.lang.String
Method Summary
def Seq [a](xs : a*) : Seq[a]
def Try [a](block : => a) : Try[a]
def _equals (x : Product, y : Any) : Boolean
def _equalsWithVarArgs (x : Product, y : Any) : Boolean
def _hashCode (x : Product) : Int
def _toString (x : Product) : java.lang.String
def arrayValue (x : BoxedArray, elemTag : java.lang.String) : AnyRef
def arrayValue (x : BoxedArray, elemClass : java.lang.Class[Any]) : AnyRef
def boxArray (value : AnyRef) : BoxedArray
def caseFields (x : Product) : List[Any]
def checkInitialized [T <: AnyRef](x : T) : T
def forceBoxedArray [A](xs : Seq[A]) : Array[A]
def isArray (x : AnyRef) : Boolean
def isValueClass (clazz : java.lang.Class[Any]) : Boolean
def isValueTag (tag : java.lang.String) : Boolean
def stringOf (arg : Any) : java.lang.String
Given any Scala value, convert it to a String. The primary motivation for this method is to provide a means for correctly obtaining a String representation of a value, while avoiding the pitfalls of na?vely calling toString on said value. In particular, it addresses the fact that (a) toString cannot be called on null and (b) depending on the apparent type of an array, toString may or may not print it in a human-readable form.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
abstract class Try [a] extends AnyRef
Value Details
val ByteTag : java.lang.String
Names for primitive types, used by array unboxing

val ShortTag : java.lang.String

val CharTag : java.lang.String

val IntTag : java.lang.String

val LongTag : java.lang.String

val FloatTag : java.lang.String

val DoubleTag : java.lang.String

val BooleanTag : java.lang.String

Method Details
def isArray(x : AnyRef) : Boolean

def isValueTag(tag : java.lang.String) : Boolean

def isValueClass(clazz : java.lang.Class[Any]) : Boolean

def forceBoxedArray[A](xs : Seq[A]) : Array[A]

def checkInitialized[T <: AnyRef](x : T) : T

def Try[a](block : => a) : Try[a]

def caseFields(x : Product) : List[Any]

def _toString(x : Product) : java.lang.String

def _hashCode(x : Product) : Int

def _equals(x : Product, y : Any) : Boolean

def _equalsWithVarArgs(x : Product, y : Any) : Boolean

def Seq[a](xs : a*) : Seq[a]

def arrayValue(x : BoxedArray, elemTag : java.lang.String) : AnyRef

def arrayValue(x : BoxedArray, elemClass : java.lang.Class[Any]) : AnyRef

def boxArray(value : AnyRef) : BoxedArray

def stringOf(arg : Any) : java.lang.String
Given any Scala value, convert it to a String. The primary motivation for this method is to provide a means for correctly obtaining a String representation of a value, while avoiding the pitfalls of na?vely calling toString on said value. In particular, it addresses the fact that (a) toString cannot be called on null and (b) depending on the apparent type of an array, toString may or may not print it in a human-readable form.
Parameters
arg - the value to stringify
Returns
a string representation of arg