Packages

  • package root
    Definition Classes
    root
  • package cc
    Definition Classes
    root
  • package drx

    Scala doc for the drx conglomerate.

    Scala doc for the drx conglomerate.

    Overview

    Definition Classes
    cc
  • object Kson

    Keyed simple object notation is a much simpler and more readable key value notation without needing quotes or commas, and intended for a single line

    Keyed simple object notation is a much simpler and more readable key value notation without needing quotes or commas, and intended for a single line

    Kson (Key Separated Object Notation) is a simple format used for many of the configuration formats. The 'key' idea is to remain simple like CSV (Comma Separated Values). However, instead of using commas, use "<key>:" as the separation delimiter. Then instead of receiving a list of strings for a line of CSV you receive back key value pairs for a line of Kson. This provides for a flexible configuration and clean data encoding framework.

    Where CSV returns an table of values, Kson can return a list of key value pairs per line or can squash all the key values together for a single key value lookup.

    For example "person first:Aaron last:Radke language:scala desc:Use simple keys //with some comments" gets parsed to Map("/"" -> "person", "first" -> "Aaron", "last" -> "Radke", "language" -> "scala", "quote" -> "Use simple keys")

    Definition Classes
    drx
  • Mutable
  • Watched
c

cc.drx.Kson

Mutable

class Mutable[A <: Mutable[A]] extends StringMap

mutable that executes call backs on change modifications

Self Type
A
Source
kson.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Mutable
  2. StringMap
  3. AnyRef
  4. 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 Mutable()

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 Mutable[A] toany2stringadd[Mutable[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Mutable[A], B)
    Implicit
    This member is added by an implicit conversion from Mutable[A] toArrowAssoc[Mutable[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def /(symbol: Symbol): Scoped
    Definition Classes
    StringMap
  6. def /(name: String): Scoped
    Definition Classes
    StringMap
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. 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
  9. def applyIf(t: Boolean, f: (Mutable[A]) => Mutable[A]): Mutable[A]
    Implicit
    This member is added by an implicit conversion from Mutable[A] toDrxAny[Mutable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  10. def applyIf(t: (Mutable[A]) => Boolean)(f: (Mutable[A]) => Mutable[A]): Mutable[A]

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Mutable[A] toDrxAny[Mutable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clear: Unit

    clear the list of callbacks

  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. final def contains(key: String): Boolean
    Definition Classes
    StringMap
  15. def elementOf(xs: Set[Mutable[A]]): Boolean
    Implicit
    This member is added by an implicit conversion from Mutable[A] toDrxAny[Mutable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  16. def ensuring(cond: (Mutable[A]) => Boolean, msg: => Any): Mutable[A]
    Implicit
    This member is added by an implicit conversion from Mutable[A] toEnsuring[Mutable[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (Mutable[A]) => Boolean): Mutable[A]
    Implicit
    This member is added by an implicit conversion from Mutable[A] toEnsuring[Mutable[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: => Any): Mutable[A]
    Implicit
    This member is added by an implicit conversion from Mutable[A] toEnsuring[Mutable[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): Mutable[A]
    Implicit
    This member is added by an implicit conversion from Mutable[A] toEnsuring[Mutable[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Mutable[A] toStringFormat[Mutable[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. def get[T](key: String)(implicit parser: Parsable[T]): Option[T]
    Definition Classes
    MutableStringMap
  25. 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
  26. 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
  27. def get[A, B](keyA: String, keyB: String)(implicit parserA: Parsable[A], parserB: Parsable[B]): Option[(A, B)]
    Definition Classes
    StringMap
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. final def getOrElse[T](key: String, default: T)(implicit parser: Parsable[T]): T
    Definition Classes
    StringMap
  30. def getString(key: String): Option[String]

    the key get interface to parse as you would like

    the key get interface to parse as you would like

    Definition Classes
    MutableStringMap
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def keys: List[String]

    list of the available keys (the sort order provides listing features)

    list of the available keys (the sort order provides listing features)

    Definition Classes
    MutableStringMap
  34. def kson: Kson
  35. def mergeWith(that: StringMap): StringMap
    Definition Classes
    StringMap
  36. 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
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def noneIf(f: (Mutable[A]) => Boolean): Option[Mutable[A]]
    Implicit
    This member is added by an implicit conversion from Mutable[A] toDrxAny[Mutable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. def onUpdate(f: (Kson) => Unit): A

    add a function to execute on updates

  42. def optionIf(f: (Mutable[A]) => Boolean): Option[Mutable[A]]

    optionally wrap an object

    optionally wrap an object

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

    a preApply f => f(a)

    a preApply f => f(a)

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

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Mutable[A] toDrxAny[Mutable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  45. def someIf(f: (Mutable[A]) => Boolean): Option[Mutable[A]]
    Implicit
    This member is added by an implicit conversion from Mutable[A] toDrxAny[Mutable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  46. def split[T](key: String, sep: String)(implicit parser: Parsable[T]): Vector[T]

    split

    split

    Definition Classes
    MutableStringMap
  47. def split[T](key: String)(implicit parser: Parsable[T]): Vector[T]
    Definition Classes
    StringMap
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. val thisAny: Mutable[A]
    Implicit
    This member is added by an implicit conversion from Mutable[A] toDrxAny[Mutable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  50. def till(maxArg: Mutable[A]): Bound[Mutable[A]]

    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 Mutable[A] toBoundOps[Mutable[A]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[Mutable[A]] is in scope.
    Definition Classes
    BoundOps
  51. def toList: List[(String, String)]
    Definition Classes
    StringMap
  52. final def toMap: Map[String, String]
    Definition Classes
    StringMap
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. def update(k: Kson): Unit
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def ?>(f: (Mutable[A]) => Boolean): Option[Mutable[A]]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Mutable[A] toDrxAny[Mutable[A]] 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 mkPath(parent: String, child: String): String
    Definition Classes
    StringMap
    Annotations
    @deprecated
    Deprecated

    (Since version dj) use mkPath with a list of Keys instead

  3. def |>[B](f: (Mutable[A]) => B): B
    Implicit
    This member is added by an implicit conversion from Mutable[A] toDrxAny[Mutable[A]] 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)

  4. def [B](y: B): (Mutable[A], B)
    Implicit
    This member is added by an implicit conversion from Mutable[A] toArrowAssoc[Mutable[A]] 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 StringMap

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromMutable[A] to DrxAny[Mutable[A]]

Inherited by implicit conversion DrxBoundOps fromMutable[A] to BoundOps[Mutable[A]]

Inherited by implicit conversion any2stringadd fromMutable[A] to any2stringadd[Mutable[A]]

Inherited by implicit conversion StringFormat fromMutable[A] to StringFormat[Mutable[A]]

Inherited by implicit conversion Ensuring fromMutable[A] to Ensuring[Mutable[A]]

Inherited by implicit conversion ArrowAssoc fromMutable[A] to ArrowAssoc[Mutable[A]]

Ungrouped