Object

fm.common

JavaConverters

Related Doc: package common

Permalink

object JavaConverters extends DecorateAsJava with DecorateAsScala

This is the same as scala.collection.JavaConverters with a few additional methods.

Specifically you can now call .asScalaNullToEmpty to have null java collections converted to an empty collection to avoid NullPointerExceptions

Linear Supertypes
DecorateAsScala, DecorateAsJava, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaConverters
  2. DecorateAsScala
  3. DecorateAsJava
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class RichJavaCollection[A, B] extends AnyVal

    Permalink
  2. implicit final class RichJavaConcurrentMap[A, B] extends AnyVal

    Permalink
  3. implicit final class RichJavaDictionary[A, B] extends AnyVal

    Permalink
  4. implicit final class RichJavaEnumeration[A, B] extends AnyVal

    Permalink
  5. implicit final class RichJavaIterable[A, B] extends AnyVal

    Permalink
  6. implicit final class RichJavaIterator[A] extends AnyVal

    Permalink
  7. implicit final class RichJavaList[A] extends AnyVal

    Permalink
  8. implicit final class RichJavaMap[A, B] extends AnyVal

    Permalink
  9. implicit final class RichJavaProperties extends AnyVal

    Permalink
  10. implicit final class RichJavaSet[A, B] extends AnyVal

    Permalink

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. implicit def asJavaCollectionConverter[A](i: Iterable[A]): scala.collection.convert.Decorators.AsJavaCollection[A]

    Permalink
    Definition Classes
    DecorateAsJava
  6. implicit def asJavaDictionaryConverter[A, B](m: Map[A, B]): scala.collection.convert.Decorators.AsJavaDictionary[A, B]

    Permalink
    Definition Classes
    DecorateAsJava
  7. implicit def asJavaEnumerationConverter[A](i: Iterator[A]): scala.collection.convert.Decorators.AsJavaEnumeration[A]

    Permalink
    Definition Classes
    DecorateAsJava
  8. implicit def asJavaIterableConverter[A](i: Iterable[A]): scala.collection.convert.Decorators.AsJava[Iterable[A]]

    Permalink
    Definition Classes
    DecorateAsJava
  9. implicit def asJavaIteratorConverter[A](i: Iterator[A]): scala.collection.convert.Decorators.AsJava[Iterator[A]]

    Permalink
    Definition Classes
    DecorateAsJava
  10. implicit def asScalaBufferConverter[A](l: List[A]): scala.collection.convert.Decorators.AsScala[Buffer[A]]

    Permalink
    Definition Classes
    DecorateAsScala
  11. implicit def asScalaIteratorConverter[A](i: Iterator[A]): scala.collection.convert.Decorators.AsScala[Iterator[A]]

    Permalink
    Definition Classes
    DecorateAsScala
  12. implicit def asScalaSetConverter[A](s: Set[A]): scala.collection.convert.Decorators.AsScala[Set[A]]

    Permalink
    Definition Classes
    DecorateAsScala
  13. implicit def bufferAsJavaListConverter[A](b: Buffer[A]): scala.collection.convert.Decorators.AsJava[List[A]]

    Permalink
    Definition Classes
    DecorateAsJava
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. implicit def collectionAsScalaIterableConverter[A](i: Collection[A]): scala.collection.convert.Decorators.AsScala[Iterable[A]]

    Permalink
    Definition Classes
    DecorateAsScala
  16. implicit def dictionaryAsScalaMapConverter[A, B](p: Dictionary[A, B]): scala.collection.convert.Decorators.AsScala[Map[A, B]]

    Permalink
    Definition Classes
    DecorateAsScala
  17. implicit def enumerationAsScalaIteratorConverter[A](i: Enumeration[A]): scala.collection.convert.Decorators.AsScala[Iterator[A]]

    Permalink
    Definition Classes
    DecorateAsScala
  18. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  24. implicit def iterableAsScalaIterableConverter[A](i: Iterable[A]): scala.collection.convert.Decorators.AsScala[Iterable[A]]

    Permalink
    Definition Classes
    DecorateAsScala
  25. implicit def mapAsJavaConcurrentMapConverter[A, B](m: Map[A, B]): scala.collection.convert.Decorators.AsJava[ConcurrentMap[A, B]]

    Permalink
    Definition Classes
    DecorateAsJava
  26. implicit def mapAsJavaMapConverter[A, B](m: Map[A, B]): scala.collection.convert.Decorators.AsJava[Map[A, B]]

    Permalink
    Definition Classes
    DecorateAsJava
  27. implicit def mapAsScalaConcurrentMapConverter[A, B](m: ConcurrentMap[A, B]): scala.collection.convert.Decorators.AsScala[Map[A, B]]

    Permalink
    Definition Classes
    DecorateAsScala
  28. implicit def mapAsScalaMapConverter[A, B](m: Map[A, B]): scala.collection.convert.Decorators.AsScala[Map[A, B]]

    Permalink
    Definition Classes
    DecorateAsScala
  29. implicit def mutableMapAsJavaMapConverter[A, B](m: Map[A, B]): scala.collection.convert.Decorators.AsJava[Map[A, B]]

    Permalink
    Definition Classes
    DecorateAsJava
  30. implicit def mutableSeqAsJavaListConverter[A](b: Seq[A]): scala.collection.convert.Decorators.AsJava[List[A]]

    Permalink
    Definition Classes
    DecorateAsJava
  31. implicit def mutableSetAsJavaSetConverter[A](s: Set[A]): scala.collection.convert.Decorators.AsJava[Set[A]]

    Permalink
    Definition Classes
    DecorateAsJava
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. implicit def propertiesAsScalaMapConverter(p: Properties): scala.collection.convert.Decorators.AsScala[Map[String, String]]

    Permalink
    Definition Classes
    DecorateAsScala
  36. implicit def seqAsJavaListConverter[A](b: Seq[A]): scala.collection.convert.Decorators.AsJava[List[A]]

    Permalink
    Definition Classes
    DecorateAsJava
  37. implicit def setAsJavaSetConverter[A](s: Set[A]): scala.collection.convert.Decorators.AsJava[Set[A]]

    Permalink
    Definition Classes
    DecorateAsJava
  38. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from DecorateAsScala

Inherited from DecorateAsJava

Inherited from AnyRef

Inherited from Any

Ungrouped