Packages

abstract class Cache[K, V] extends AnyRef

this is essentially a mutable Map with a default generated value but hides many other methods that could get messy

Source
cache.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cache
  2. AnyRef
  3. Any
Implicitly
  1. by richDrxAny
  2. by DrxBoundOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Cache()

Abstract Value Members

  1. abstract def valueOf(src: K): V

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toany2stringadd[Cache[K, V]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Cache[K, V], B)
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toArrowAssoc[Cache[K, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def apply(src: K): V
  7. def applyIf(t: Boolean, f: (Cache[K, V]) => Cache[K, V]): Cache[K, V]
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toDrxAny[Cache[K, V]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  8. def applyIf(t: (Cache[K, V]) => Boolean)(f: (Cache[K, V]) => Cache[K, V]): Cache[K, V]

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Cache[K, V] toDrxAny[Cache[K, V]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def elementOf(xs: Set[Cache[K, V]]): Boolean
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toDrxAny[Cache[K, V]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  12. final def empty: scala.collection.concurrent.TrieMap[K, V]
  13. def ensuring(cond: (Cache[K, V]) => Boolean, msg: => Any): Cache[K, V]
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toEnsuring[Cache[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (Cache[K, V]) => Boolean): Cache[K, V]
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toEnsuring[Cache[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): Cache[K, V]
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toEnsuring[Cache[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): Cache[K, V]
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toEnsuring[Cache[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toStringFormat[Cache[K, V]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def noneIf(f: (Cache[K, V]) => Boolean): Option[Cache[K, V]]
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toDrxAny[Cache[K, V]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def optionIf(f: (Cache[K, V]) => Boolean): Option[Cache[K, V]]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Cache[K, V] toDrxAny[Cache[K, V]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  29. def preApply[B](f: (Cache[K, V]) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Cache[K, V] toDrxAny[Cache[K, V]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  30. def sideEffect(f: (Cache[K, V]) => Unit): Cache[K, V]

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Cache[K, V] toDrxAny[Cache[K, V]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  31. def someIf(f: (Cache[K, V]) => Boolean): Option[Cache[K, V]]
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toDrxAny[Cache[K, V]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. val thisAny: Cache[K, V]
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toDrxAny[Cache[K, V]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  34. def till(maxArg: Cache[K, V]): Bound[Cache[K, V]]

    Bound construction since the Range constructor is deprecated

    Bound construction since the Range constructor is deprecated

    Implicit
    This member is added by an implicit conversion from Cache[K, V] toBoundOps[Cache[K, V]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[Cache[K, V]] is in scope.
    Definition Classes
    BoundOps
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def values: Iterable[V]
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def ?>(f: (Cache[K, V]) => Boolean): Option[Cache[K, V]]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Cache[K, V] toDrxAny[Cache[K, V]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to many symbols are hard to undertand

  2. def |>[B](f: (Cache[K, V]) => B): B
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toDrxAny[Cache[K, V]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use preApply if you must (symbols are concise without concision)

  3. def [B](y: B): (Cache[K, V], B)
    Implicit
    This member is added by an implicit conversion from Cache[K, V] toArrowAssoc[Cache[K, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromCache[K, V] to DrxAny[Cache[K, V]]

Inherited by implicit conversion DrxBoundOps fromCache[K, V] to BoundOps[Cache[K, V]]

Inherited by implicit conversion any2stringadd fromCache[K, V] to any2stringadd[Cache[K, V]]

Inherited by implicit conversion StringFormat fromCache[K, V] to StringFormat[Cache[K, V]]

Inherited by implicit conversion Ensuring fromCache[K, V] to Ensuring[Cache[K, V]]

Inherited by implicit conversion ArrowAssoc fromCache[K, V] to ArrowAssoc[Cache[K, V]]

Ungrouped