trait Cached extends StringMap
Cached provides a nice way to make a fast lookup and parse inline
- Source
- stringMap.scala
- Alphabetic
- By Inheritance
- Cached
- StringMap
- AnyRef
- Any
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Cached, B)
- def /(symbol: Symbol): Scoped
- Definition Classes
- StringMap
- def /(name: String): Scoped
- Definition Classes
- StringMap
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def apply[T](key: String)(implicit parser: Parsable[T]): T
dangerous option, either use modadic or defaults with getOrElse
dangerous option, either use modadic or defaults with getOrElse
- Definition Classes
- StringMap
- def applyIf(t: Boolean, f: (Cached) => Cached): Cached
- Implicit
- This member is added by an implicit conversion from Cached toDrxAny[Cached] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Cached) => Boolean)(f: (Cached) => Cached): Cached
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Cached toDrxAny[Cached] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def contains(key: String): Boolean
- Definition Classes
- StringMap
- def elementOf(xs: Set[Cached]): Boolean
- Implicit
- This member is added by an implicit conversion from Cached toDrxAny[Cached] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (Cached) => Boolean, msg: => Any): Cached
- def ensuring(cond: (Cached) => Boolean): Cached
- def ensuring(cond: Boolean, msg: => Any): Cached
- def ensuring(cond: Boolean): Cached
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def get[T](key: String)(implicit parser: Parsable[T]): Option[T]
get a key while parsing it via to a viable type inference value and caching it as so
- def get[A, B, C, D](keyA: String, keyB: String, keyC: String, keyD: String)(implicit parserA: Parsable[A], parserB: Parsable[B], parserC: Parsable[C], parserD: Parsable[D]): Option[(A, B, C, D)]
- Definition Classes
- StringMap
- def get[A, B, C](keyA: String, keyB: String, keyC: String)(implicit parserA: Parsable[A], parserB: Parsable[B], parserC: Parsable[C]): Option[(A, B, C)]
- Definition Classes
- StringMap
- def get[A, B](keyA: String, keyB: String)(implicit parserA: Parsable[A], parserB: Parsable[B]): Option[(A, B)]
- Definition Classes
- StringMap
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def getOrElse[T](key: String, default: T)(implicit parser: Parsable[T]): T
- Definition Classes
- StringMap
- final def getString(key: String): Option[String]
specialized get method for strings so parsing is not required (this also provides a cache mechanism without type encoding)
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mergeWith(that: StringMap): StringMap
- Definition Classes
- StringMap
- def mkPath(keys: Seq[String]): String
default as a path separator of '.' but this is configurable (over-ridable)
default as a path separator of '.' but this is configurable (over-ridable)
- Definition Classes
- StringMap
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (Cached) => Boolean): Option[Cached]
- Implicit
- This member is added by an implicit conversion from Cached toDrxAny[Cached] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (Cached) => Boolean): Option[Cached]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Cached toDrxAny[Cached] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (Cached) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Cached toDrxAny[Cached] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def sideEffect(f: (Cached) => Unit): Cached
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Cached toDrxAny[Cached] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Cached) => Boolean): Option[Cached]
- Implicit
- This member is added by an implicit conversion from Cached toDrxAny[Cached] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def split[T](key: String, sep: String)(implicit parser: Parsable[T]): Vector[T]
split
- final def split[T](key: String)(implicit parser: Parsable[T]): Vector[T]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisAny: Cached
- Implicit
- This member is added by an implicit conversion from Cached toDrxAny[Cached] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: Cached): Bound[Cached]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- def toList: List[(String, String)]
- Definition Classes
- StringMap
- final def toMap: Map[String, String]
- Definition Classes
- StringMap
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def ?>(f: (Cached) => Boolean): Option[Cached]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Cached toDrxAny[Cached] 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
- def mkPath(parent: String, child: String): String
- Definition Classes
- StringMap
- Annotations
- @deprecated
- Deprecated
(Since version dj) use mkPath with a list of Keys instead
- def |>[B](f: (Cached) => B): B
- Implicit
- This member is added by an implicit conversion from Cached toDrxAny[Cached] 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)
- def →[B](y: B): (Cached, B)
- Implicit
- This member is added by an implicit conversion from Cached toArrowAssoc[Cached] 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.