Package

javascalautils.converters

s2j

Permalink

package s2j

Contains the converters from Scala -> Java, both implicit as well as explicit.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. s2j
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait Converters extends OptionConverters with TryConverters with EitherConverters with FutureConverters

    Permalink

    Aggregates the various traits for converting from Scala -> javascalautils.

    Aggregates the various traits for converting from Scala -> javascalautils.
    Example on usage:

    import javascalautils.converters.s2j.Converters._
    val joptionSome = asJavaOption(Some("Some is never None"))

    Refer to the various methods on this object for further code examples.

  2. trait EitherConverters extends AnyRef

    Permalink

    Provides the code for converting scala.util.Either/Left/Right -> javascalautils.Either/Left/Right

  3. class EitherDecorator[L, R] extends AnyRef

    Permalink

    Class containing the asJava method that will decorate the scala.util.Either class.

    Class containing the asJava method that will decorate the scala.util.Either class.

    Since

    1.0

  4. trait EitherImplicits extends AnyRef

    Permalink

    Trait with all implicit definitions for scala.Either/Left/Right conversions -> javascalautils.Either/Left/Right.

    Trait with all implicit definitions for scala.Either/Left/Right conversions -> javascalautils.Either/Left/Right.

    Since

    1.0

  5. class FailureDecorator[T] extends AnyRef

    Permalink

    Class containing the asJava method that will decorate the scala.util.Failure class.

    Class containing the asJava method that will decorate the scala.util.Failure class.

    Since

    1.0

  6. trait FutureConverters extends AnyRef

    Permalink

    Provides the code for converting scala.concurrent.Future -> javascalautils.concurrent.Future

    Provides the code for converting scala.concurrent.Future -> javascalautils.concurrent.Future

    Since

    1.0

  7. class FutureDecorator[T] extends AnyRef

    Permalink

    Class containing the asJava method that will decorate the scala.concurrent.Future class.

    Class containing the asJava method that will decorate the scala.concurrent.Future class.

    Since

    1.0

  8. trait FutureImplicits extends AnyRef

    Permalink

    Trait with all implicit definitions for scala.concurrent.Future conversions -> javascalautils.concurrent.Future.

    Trait with all implicit definitions for scala.concurrent.Future conversions -> javascalautils.concurrent.Future.

    Since

    1.0

  9. trait Implicits extends OptionImplicits with TryImplicits with EitherImplicits with FutureImplicits

    Permalink

    Aggregate of all traits for converting from Scala -> javascalautil.

    Aggregate of all traits for converting from Scala -> javascalautil.
    Example on usage:

    import javascalautils.converters.s2j.Implicits._
    val jsome = Some("Some is never None").asJava
    Since

    1.0

  10. class LeftDecorator[L, R] extends AnyRef

    Permalink

    Class containing the asJava method that will decorate the scala.util.Left class.

    Class containing the asJava method that will decorate the scala.util.Left class.

    Since

    1.0

  11. class NoneDecorator[T] extends AnyRef

    Permalink

    Class containing the asJava method that will decorate the scala.None class.

    Class containing the asJava method that will decorate the scala.None class.

    Since

    1.0

  12. trait OptionConverters extends AnyRef

    Permalink

    Provides the code for converting scala.Option/Some/None -> javascalautils.Option/Some/None

  13. class OptionDecorator[T] extends AnyRef

    Permalink

    Class containing the asJava method that will decorate the scala.Option class.

    Class containing the asJava method that will decorate the scala.Option class.

    Since

    1.0

  14. trait OptionImplicits extends AnyRef

    Permalink

    Trait with all implicit definitions for scala.Option/Some/None conversions -> javascalautils.Option/Some/None.

    Trait with all implicit definitions for scala.Option/Some/None conversions -> javascalautils.Option/Some/None.

    Since

    1.0

  15. class RightDecorator[L, R] extends AnyRef

    Permalink

    Class containing the asJava method that will decorate the scala.util.Right class.

    Class containing the asJava method that will decorate the scala.util.Right class.

    Since

    1.0

  16. class SomeDecorator[T] extends AnyRef

    Permalink

    Class containing the asJava method that will decorate the scala.Some class.

    Class containing the asJava method that will decorate the scala.Some class.

    Since

    1.0

  17. class SuccessDecorator[T] extends AnyRef

    Permalink

    Class containing the asJava method that will decorate the scala.util.Success class.

    Class containing the asJava method that will decorate the scala.util.Success class.

    Since

    1.0

  18. trait TryConverters extends AnyRef

    Permalink

    Provides the code for converting scala.util.Try/Success/Failure -> javascalautils.Try/Success/Failure

  19. class TryDecorator[T] extends AnyRef

    Permalink

    Class containing the asJava method that will decorate the scala.util.Try class.

    Class containing the asJava method that will decorate the scala.util.Try class.

    Since

    1.0

  20. trait TryImplicits extends AnyRef

    Permalink

    Trait with all implicit definitions for scala.util.Try/Success/Failure conversions -> javascalautils.Try/Success/Failure.

    Trait with all implicit definitions for scala.util.Try/Success/Failure conversions -> javascalautils.Try/Success/Failure.

    Since

    1.0

Value Members

  1. object Converters extends Converters

    Permalink

    Object implementing all converter traits.

  2. object Implicits extends Implicits

    Permalink

    The object for all implicit Scala -> Java conversions.

    The object for all implicit Scala -> Java conversions.

    Since

    1.0

Inherited from AnyRef

Inherited from Any

Ungrouped