Packages

object Util

This class hold common utilities for Java

Source
JavaAPI.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def classTag[T](clazz: Class[T]): ClassTag[T]

    Returns a ClassTag describing the provided Class.

  2. def immutableIndexedSeq[T](iterable: Iterable[T]): IndexedSeq[T]

    Turns an java.lang.Iterable into an immutable Scala IndexedSeq (by copying it).

  3. def immutableSeq[T](iterable: Iterable[T]): Seq[T]

    Turns an java.lang.Iterable into an immutable Scala sequence (by copying it).

  4. def immutableSeq[T](arr: Array[T]): Seq[T]

    Turns an array into an immutable Scala sequence (by copying it).

  5. def immutableSeq(arr: Array[Class[_]]): Seq[Class[_]]

    Returns an immutable.Seq representing the provided array of Classes, an overloading of the generic immutableSeq in Util, to accommodate for erasure.

  6. def immutableSingletonSeq[T](value: T): Seq[T]
  7. def javaArrayList[T](seq: Seq[T]): List[T]
  8. def option[T](jOption: Optional[T]): scala.Option[T]