Object

ch.waan.mcddpui.api

Implicits

Related Doc: package api

Permalink

object Implicits

collection of implicit conversion methods and implicit classes extending the basic functionality of the java API to better suit scala implementations.

// import all implicits
import ch.waan.mcddpui.api.Implicits._
Version

1.1 (0.1.0), 2016-02-29

Since

MCDDPUI 0.1.0

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Implicits
  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. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. implicit def function2mutationCommand[T, U](f: (T) ⇒ U): MutationCommand[T, U]

    Permalink

    converts a scala function into a MutationCommand.

    converts a scala function into a MutationCommand.

    T

    the input type of the command

    U

    the output type of the command

    f

    the function to be converted into a MutationCommand. May not be null.

    returns

    a MutationCommand based off the function f

    Example:
    1. import ch.waan.mcddpui.api.Implicits._
      val c0: MutationCommand[String, String] = (s: String) => s.toUpperCase
      val c1: MutationCommand[String, String] = (_: String).toUpperCase
    Since

    MCDDPUI 0.1.0

    Exceptions thrown

    NullPointerException if f is null

  10. implicit def function2readCommand[T](f: (T) ⇒ Unit): ReadCommand[T]

    Permalink

    converts a scala function into a ReadCommand.

    converts a scala function into a ReadCommand.

    T

    the input type of the command

    f

    the function to be converted into a ReadCommand. May not be null.

    returns

    a ReadCommand based off the function f

    Example:
    1. import ch.waan.mcddpui.api.Implicits._
      val c0: ReadCommand[String] = (s: String) => println(s)
      val c1: ReadCommand[String] = println(_: String)
    Since

    MCDDPUI 0.1.0

    Exceptions thrown

    NullPointerException if f is null

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  14. implicit def mutationCommand2function[T, U](c: MutationCommand[T, U]): (T) ⇒ U

    Permalink

    converts a MutationCommand into a scala function.

    converts a MutationCommand into a scala function.

    T

    the input type of the command

    U

    the output type of the command

    c

    the command to be converted into a function. May not be null.

    returns

    a function based off the command c

    Since

    MCDDPUI 0.1.0

    Exceptions thrown

    NullPointerException if c is null

  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. implicit def readCommand2function[T](c: ReadCommand[T]): (T) ⇒ Unit

    Permalink

    converts a ReadCommand into a scala function.

    converts a ReadCommand into a scala function.

    T

    the input type of the command

    c

    the command to be converted into a function. May not be null.

    returns

    a function based off the command c

    Since

    MCDDPUI 0.1.0

    Exceptions thrown

    NullPointerException if c is null

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

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped