Packages

object fnOutput

Convenience methods that help you create I => Reusable[O] functions.

The reason this is more convenient than the underlying methods is that this makes it easier to create and share a single Reusability instance at the function definition site, before it's used.

Also note, that it's important that the functions you provide are pure. If you don't always return the same output given the same input, then you can expect different outputs to be discarded or "lost".

Since

1.5.0

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def always[I, O](f: (I) => O): (I) => Reusable[O]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def byRef[I <: AnyRef, O](f: (I) => O): (I) => Reusable[O]

    Compare by reference.

    Compare by reference. Reuse if both values are the same instance.

  7. def byRefOr_==[I <: AnyRef, O](f: (I) => O): (I) => Reusable[O]

    Compare by reference and if different, compare using universal equality (Scala's == operator).

  8. def by_==[I, O](f: (I) => O): (I) => Reusable[O]

    Compare using universal equality (Scala's == operator).

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def const[I, O](f: (I) => O, isReusable: Boolean): (I) => Reusable[O]

    Use constant reusability (i.e.

    Use constant reusability (i.e. always-reuse or never-reuse)

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def explicitly[I, O](r: Reusability[I])(f: (I) => O)(implicit arg0: ClassTag[I]): (I) => Reusable[O]
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def implicitly[I, O](f: (I) => O)(implicit arg0: ClassTag[I], arg1: Reusability[I]): (I) => Reusable[O]
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def never[I, O](f: (I) => O): (I) => Reusable[O]
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped