Packages

trait IMap[+I <: Id] extends IContainer[I, Key]

A map (object) node whose children are addressed by Id.Key.

Supports string-keyed lookup via the convenience overload apply(key: String) which constructs an Id.Key relative to this node's own id. The - operator returns a copy of the map with the given key removed.

Source
Node.scala
Linear Supertypes
IContainer[I, Key], Iterable[ISome[Key]], scala.collection.Iterable[ISome[Key]], IterableFactoryDefaults[ISome[Key], scala.collection.Iterable], IterableOps[ISome[Key], scala.collection.Iterable, scala.collection.Iterable[ISome[Key]]], IterableOnceOps[ISome[Key], scala.collection.Iterable, scala.collection.Iterable[ISome[Key]]], IterableOnce[ISome[Key]], (Key) => INode[Key], IValue[I], ISome[I], INode[I], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IMap
  2. IContainer
  3. Iterable
  4. Iterable
  5. IterableFactoryDefaults
  6. IterableOps
  7. IterableOnceOps
  8. IterableOnce
  9. Function1
  10. IValue
  11. ISome
  12. INode
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def -(key: String): IMap[I]

    Returns this map without the entry for key.

    Returns this map without the entry for key. A no-op if key is absent.

  2. abstract def apply(key: Key): INode[Key]
    Definition Classes
    IMap → Function1
  3. abstract def id: I
    Definition Classes
    INode
  4. abstract def iterator: Iterator[ISome[Key]]
    Definition Classes
    IterableOnce
  5. abstract def location: Location

    Source location of this node.

    Source location of this node.

    Definition Classes
    ISome
  6. abstract def tag: Option[String]

    Optional YAML tag (e.g.

    Optional YAML tag (e.g. !!str). None when the backend does not produce tags.

    Definition Classes
    ISome

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ++[B >: ISome[Key]](suffix: IterableOnce[B]): scala.collection.Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  6. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  7. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  8. def andThen[A](g: (INode[Key]) => A): (Key) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  9. final def apply(key: String): INode[Key]
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  13. final def coll: IMap.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  14. def collect[B](pf: PartialFunction[ISome[Key], B]): scala.collection.Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  15. def collectFirst[B](pf: PartialFunction[ISome[Key], B]): Option[B]
    Definition Classes
    IterableOnceOps
  16. def compose[A](g: (A) => Key): (A) => INode[Key]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  17. def concat[B >: ISome[Key]](suffix: IterableOnce[B]): scala.collection.Iterable[B]
    Definition Classes
    IterableOps
  18. def copyToArray[B >: ISome[Key]](dest: Array[B], start: Int, n: Int): Int
    Definition Classes
    IterableOnceOps
  19. def copyToArray[B >: ISome[Key]](dest: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  20. def copyToArray[B >: ISome[Key]](dest: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  21. def corresponds[B](that: IterableOnce[B])(p: (ISome[Key], B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  22. def count(p: (ISome[Key]) => Boolean): Int
    Definition Classes
    IterableOnceOps
  23. def drop(n: Int): scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps → IterableOnceOps
  24. def dropRight(n: Int): scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps
  25. def dropWhile(p: (ISome[Key]) => Boolean): scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps → IterableOnceOps
  26. def empty: scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  29. def exists(p: (ISome[Key]) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  30. def filter(pred: (ISome[Key]) => Boolean): scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps → IterableOnceOps
  31. def filterNot(pred: (ISome[Key]) => Boolean): scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps → IterableOnceOps
  32. def find(p: (ISome[Key]) => Boolean): Option[ISome[Key]]
    Definition Classes
    IterableOnceOps
  33. def flatMap[B](f: (ISome[Key]) => IterableOnce[B]): scala.collection.Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  34. def flatten[B](implicit asIterable: (ISome[Key]) => IterableOnce[B]): scala.collection.Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  35. def fold[A1 >: ISome[Key]](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  36. def foldLeft[B](z: B)(op: (B, ISome[Key]) => B): B
    Definition Classes
    IterableOnceOps
  37. def foldRight[B](z: B)(op: (ISome[Key], B) => B): B
    Definition Classes
    IterableOnceOps
  38. def forall(p: (ISome[Key]) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  39. def foreach[U](f: (ISome[Key]) => U): Unit
    Definition Classes
    IterableOnceOps
  40. def fromSpecific(coll: IterableOnce[ISome[Key]]): scala.collection.Iterable[ISome[Key]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  41. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  42. def groupBy[K](f: (ISome[Key]) => K): scala.collection.immutable.Map[K, scala.collection.Iterable[ISome[Key]]]
    Definition Classes
    IterableOps
  43. def groupMap[K, B](key: (ISome[Key]) => K)(f: (ISome[Key]) => B): scala.collection.immutable.Map[K, scala.collection.Iterable[B]]
    Definition Classes
    IterableOps
  44. def groupMapReduce[K, B](key: (ISome[Key]) => K)(f: (ISome[Key]) => B)(reduce: (B, B) => B): scala.collection.immutable.Map[K, B]
    Definition Classes
    IterableOps
  45. def grouped(size: Int): Iterator[scala.collection.Iterable[ISome[Key]]]
    Definition Classes
    IterableOps
  46. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  47. def head: ISome[Key]
    Definition Classes
    IterableOps
  48. def headOption: Option[ISome[Key]]
    Definition Classes
    IterableOps
  49. def init: scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps
  50. def inits: Iterator[scala.collection.Iterable[ISome[Key]]]
    Definition Classes
    IterableOps
  51. final def isEmpty: Boolean
    Definition Classes
    IContainer → IterableOnceOps
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  54. def iterableFactory: IterableFactory[scala.collection.Iterable]
    Definition Classes
    Iterable → IterableOps
  55. final def knownSize: Int
    Definition Classes
    IContainer → Iterable → IterableOnce
  56. def last: ISome[Key]
    Definition Classes
    IterableOps
  57. def lastOption: Option[ISome[Key]]
    Definition Classes
    IterableOps
  58. def lazyZip[B](that: scala.collection.Iterable[B]): LazyZip2[ISome[Key], B, IMap.this.type]
    Definition Classes
    Iterable
  59. def map[B](f: (ISome[Key]) => B): scala.collection.Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  60. def max[B >: ISome[Key]](implicit ord: Ordering[B]): ISome[Key]
    Definition Classes
    IterableOnceOps
  61. def maxBy[B](f: (ISome[Key]) => B)(implicit ord: Ordering[B]): ISome[Key]
    Definition Classes
    IterableOnceOps
  62. def maxByOption[B](f: (ISome[Key]) => B)(implicit ord: Ordering[B]): Option[ISome[Key]]
    Definition Classes
    IterableOnceOps
  63. def maxOption[B >: ISome[Key]](implicit ord: Ordering[B]): Option[ISome[Key]]
    Definition Classes
    IterableOnceOps
  64. def min[B >: ISome[Key]](implicit ord: Ordering[B]): ISome[Key]
    Definition Classes
    IterableOnceOps
  65. def minBy[B](f: (ISome[Key]) => B)(implicit ord: Ordering[B]): ISome[Key]
    Definition Classes
    IterableOnceOps
  66. def minByOption[B](f: (ISome[Key]) => B)(implicit ord: Ordering[B]): Option[ISome[Key]]
    Definition Classes
    IterableOnceOps
  67. def minOption[B >: ISome[Key]](implicit ord: Ordering[B]): Option[ISome[Key]]
    Definition Classes
    IterableOnceOps
  68. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  69. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  70. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  71. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  72. def newSpecificBuilder: Builder[ISome[Key], scala.collection.Iterable[ISome[Key]]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  73. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  74. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  75. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  76. def partition(p: (ISome[Key]) => Boolean): (scala.collection.Iterable[ISome[Key]], scala.collection.Iterable[ISome[Key]])
    Definition Classes
    IterableOps
  77. def partitionMap[A1, A2](f: (ISome[Key]) => Either[A1, A2]): (scala.collection.Iterable[A1], scala.collection.Iterable[A2])
    Definition Classes
    IterableOps
  78. def product[B >: ISome[Key]](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  79. def reduce[B >: ISome[Key]](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  80. def reduceLeft[B >: ISome[Key]](op: (B, ISome[Key]) => B): B
    Definition Classes
    IterableOnceOps
  81. def reduceLeftOption[B >: ISome[Key]](op: (B, ISome[Key]) => B): Option[B]
    Definition Classes
    IterableOnceOps
  82. def reduceOption[B >: ISome[Key]](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  83. def reduceRight[B >: ISome[Key]](op: (ISome[Key], B) => B): B
    Definition Classes
    IterableOnceOps
  84. def reduceRightOption[B >: ISome[Key]](op: (ISome[Key], B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  85. def reversed: scala.collection.Iterable[ISome[Key]]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  86. def scan[B >: ISome[Key]](z: B)(op: (B, B) => B): scala.collection.Iterable[B]
    Definition Classes
    IterableOps
  87. def scanLeft[B](z: B)(op: (B, ISome[Key]) => B): scala.collection.Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  88. def scanRight[B](z: B)(op: (ISome[Key], B) => B): scala.collection.Iterable[B]
    Definition Classes
    IterableOps
  89. def size: Int
    Definition Classes
    IterableOnceOps
  90. def sizeCompare(that: scala.collection.Iterable[_]): Int
    Definition Classes
    IterableOps
  91. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  92. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  93. def slice(from: Int, until: Int): scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps → IterableOnceOps
  94. def sliding(size: Int, step: Int): Iterator[scala.collection.Iterable[ISome[Key]]]
    Definition Classes
    IterableOps
  95. def sliding(size: Int): Iterator[scala.collection.Iterable[ISome[Key]]]
    Definition Classes
    IterableOps
  96. def span(p: (ISome[Key]) => Boolean): (scala.collection.Iterable[ISome[Key]], scala.collection.Iterable[ISome[Key]])
    Definition Classes
    IterableOps → IterableOnceOps
  97. def splitAt(n: Int): (scala.collection.Iterable[ISome[Key]], scala.collection.Iterable[ISome[Key]])
    Definition Classes
    IterableOps → IterableOnceOps
  98. def stepper[S <: Stepper[_]](implicit shape: StepperShape[ISome[Key], S]): S
    Definition Classes
    IterableOnce
  99. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
    Annotations
    @deprecatedOverriding()
  100. def sum[B >: ISome[Key]](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  101. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  102. def tail: scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps
  103. def tails: Iterator[scala.collection.Iterable[ISome[Key]]]
    Definition Classes
    IterableOps
  104. def take(n: Int): scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps → IterableOnceOps
  105. def takeRight(n: Int): scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps
  106. def takeWhile(p: (ISome[Key]) => Boolean): scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps → IterableOnceOps
  107. def tapEach[U](f: (ISome[Key]) => U): scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps → IterableOnceOps
  108. def to[C1](factory: Factory[ISome[Key], C1]): C1
    Definition Classes
    IterableOnceOps
  109. def toArray[B >: ISome[Key]](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  110. final def toBuffer[B >: ISome[Key]]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  111. def toIndexedSeq: IndexedSeq[ISome[Key]]
    Definition Classes
    IterableOnceOps
  112. def toList: List[ISome[Key]]
    Definition Classes
    IterableOnceOps
  113. def toMap[K, V](implicit ev: <:<[ISome[Key], (K, V)]): scala.collection.immutable.Map[K, V]
    Definition Classes
    IterableOnceOps
  114. def toSeq: scala.collection.immutable.Seq[ISome[Key]]
    Definition Classes
    IterableOnceOps
  115. def toSet[B >: ISome[Key]]: Set[B]
    Definition Classes
    IterableOnceOps
  116. def toString(): String
    Definition Classes
    Iterable → AnyRef → Any
  117. def toVector: Vector[ISome[Key]]
    Definition Classes
    IterableOnceOps
  118. def transpose[B](implicit asIterable: (ISome[Key]) => scala.collection.Iterable[B]): scala.collection.Iterable[scala.collection.Iterable[B]]
    Definition Classes
    IterableOps
  119. def unzip[A1, A2](implicit asPair: (ISome[Key]) => (A1, A2)): (scala.collection.Iterable[A1], scala.collection.Iterable[A2])
    Definition Classes
    IterableOps
  120. def unzip3[A1, A2, A3](implicit asTriple: (ISome[Key]) => (A1, A2, A3)): (scala.collection.Iterable[A1], scala.collection.Iterable[A2], scala.collection.Iterable[A3])
    Definition Classes
    IterableOps
  121. def view: View[ISome[Key]]
    Definition Classes
    IterableOps
  122. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  123. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  124. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  125. def withFilter(p: (ISome[Key]) => Boolean): WithFilter[ISome[Key], scala.collection.Iterable]
    Definition Classes
    IterableOps
  126. def zip[B](that: IterableOnce[B]): scala.collection.Iterable[(ISome[Key], B)]
    Definition Classes
    IterableOps
  127. def zipAll[A1 >: ISome[Key], B](that: scala.collection.Iterable[B], thisElem: A1, thatElem: B): scala.collection.Iterable[(A1, B)]
    Definition Classes
    IterableOps
  128. def zipWithIndex: scala.collection.Iterable[(ISome[Key], Int)]
    Definition Classes
    IterableOps → IterableOnceOps

Deprecated Value Members

  1. def ++:[B >: ISome[Key]](that: IterableOnce[B]): scala.collection.Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  2. final def /:[B](z: B)(op: (B, ISome[Key]) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  3. final def :\[B](z: B)(op: (ISome[Key], B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  4. def aggregate[B](z: => B)(seqop: (B, ISome[Key]) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) For sequential collections, prefer foldLeft(z)(seqop). For parallel collections, use ParIterableLike#aggregate.

  5. def companion: IterableFactory[scala.collection.Iterable]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  6. final def copyToBuffer[B >: ISome[Key]](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  7. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  8. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  9. final def repr: scala.collection.Iterable[ISome[Key]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  10. def seq: IMap.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  11. final def toIterable: IMap.this.type
    Definition Classes
    Iterable → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  12. final def toIterator: Iterator[ISome[Key]]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  13. final def toStream: Stream[ISome[Key]]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  14. final def toTraversable: Traversable[ISome[Key]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  15. def view(from: Int, until: Int): View[ISome[Key]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

Inherited from IContainer[I, Key]

Inherited from Iterable[ISome[Key]]

Inherited from scala.collection.Iterable[ISome[Key]]

Inherited from IterableFactoryDefaults[ISome[Key], scala.collection.Iterable]

Inherited from IterableOps[ISome[Key], scala.collection.Iterable, scala.collection.Iterable[ISome[Key]]]

Inherited from IterableOnceOps[ISome[Key], scala.collection.Iterable, scala.collection.Iterable[ISome[Key]]]

Inherited from IterableOnce[ISome[Key]]

Inherited from (Key) => INode[Key]

Inherited from IValue[I]

Inherited from ISome[I]

Inherited from INode[I]

Inherited from AnyRef

Inherited from Any

Ungrouped