o

debox

Util

object Util

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def alloc[A](src: Array[A], offset: Int, len: Int)(implicit arg0: ClassTag[A]): Array[A]

    Given a src array, an offset, and a len, return a new array which copies the relevant area of src.

    Given a src array, an offset, and a len, return a new array which copies the relevant area of src.

    This method does not do any size or bounds checking.

  5. macro def array[A](as: A*): Array[A]

    Efficient alternative to Array.apply.

    Efficient alternative to Array.apply.

    "As seen on scala-internals!"

    NOTE: As of Scala 2.12 this seems unnecessary: Array(...) now uses a similar technique to produce efficient code.

  6. def arrayMacro[A](c: Context)(as: scala.reflect.macros.blackbox.Context.Expr[A]*)(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.blackbox.Context.Expr[Array[A]]

    Takes in something like: ArrayUtil.alloc[Int](11, 22, 33, 44)(ct)

    Takes in something like: ArrayUtil.alloc[Int](11, 22, 33, 44)(ct)

    and builds a tree like: { val arr:Array[Int] = ct.newArray(4) arr.update(0, 11) arr.update(1, 22) arr.update(2, 33) arr.update(3, 44) arr }

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def bufferMacro[A](c: Context)(as: scala.reflect.macros.blackbox.Context.Expr[A]*)(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.blackbox.Context.Expr[Buffer[A]]
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def nextPowerOfTwo(n: Int): Int

    Given a number n, this method returns n if n is a power-of-two.

    Given a number n, this method returns n if n is a power-of-two.

    Otherwise, it returns the smallest power-of-two larger than n.

  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped