Object

com.alpine.plugin.util

JavaConversionUtils

Related Doc: package util

Permalink

object JavaConversionUtils

These conversions are difficult to do in java, due to use of implicit parameters. So we provide them here.

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def None[T]: Option[T]

    Permalink

    Utility Function to create the scala option type None in Java

  5. def Some[T](value: T): Option[T]

    Permalink

    Utility function to create scala option type Some(Value) in Java.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getOrElse[A](option: Option[A], alternative: A): A

    Permalink
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def reverseMap[U, V](m: Map[U, V]): Map[V, U]

    Permalink
  19. def scalaSeq[T](args: T*): Seq[T]

    Permalink

    Build a scala sequence natively in Java.

    Build a scala sequence natively in Java. Using the syntax : Seq(a1, a2, a3... )

    args

    Java objects or collections

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toCollection[T](scalaList: Iterable[T]): Collection[T]

    Permalink
  22. def toImmutableMap[U, V](m: Map[U, V]): Map[U, V]

    Permalink
  23. def toImmutableMap[U, V](m: Map[U, V]): Map[U, V]

    Permalink
  24. def toIterable[T](scalaList: Seq[T]): Iterable[T]

    Permalink
  25. def toJavaList[T](scalaList: Seq[T]): List[T]

    Permalink
  26. def toJavaMap[K, V](map: Map[K, V]): Map[K, V]

    Permalink
  27. def toJavaSet[T](set: Set[T]): Set[T]

    Permalink
  28. def toList[T](javaList: List[T]): List[T]

    Permalink
  29. def toSeq[T](array: Array[T]): Seq[T]

    Permalink
  30. def toSeq[T](javaList: List[T]): Seq[T]

    Permalink

    Builds a scala list natively in Java.

    Builds a scala list natively in Java.

    javaList

    objects or collection

    returns

    A Scala list containing args

  31. def toSet[T](javaSet: Set[T]): Set[T]

    Permalink
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def toList[T](scalaList: Seq[T]): Collection[T]

    Permalink
    Annotations
    @Deprecated @deprecated
    Deprecated

    Use toCollection instead.

Inherited from AnyRef

Inherited from Any

Ungrouped