Packages

final case class Leaf[V](value: V, canBeSequence: Boolean = true) extends PropertyTree[Nothing, V] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Leaf
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PropertyTree
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Leaf(value: V, canBeSequence: Boolean = true)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def at[K1 >: Nothing](propertyTreePath: PropertyTreePath[K1]): PropertyTree[K1, V]

    at allows us to fetch a sub-tree from property-tree

    at allows us to fetch a sub-tree from property-tree

    Example:

    Given a config:
    
      {
       x : [ a, b, c ]
      }
    
      at("x")            // returns Some([a, b, c])
      at("x").atIndex(2) // returns Some(Leaf("c"))
      at("x").atKey("y") // returns None
    
    Similarly, given a more complex config:
      {
       x : [
         {
           y1: 1
           y2: 2
           y3: 3
         }
         {
           y1: 1
           y2: 2
           y3: 3
         }
       ]
      }
    
      at("x").atIndex(0).atKey("y1") // returns Some(Leaf(v1)
    Definition Classes
    PropertyTree
  6. final def atIndex[K1 >: Nothing](index: Int): Option[PropertyTree[K1, V]]
    Definition Classes
    PropertyTree
  7. final def atKey[K1 >: Nothing](key: K1): Option[PropertyTree[K1, V]]
    Definition Classes
    PropertyTree
  8. def bimap[K2, V2](f: (Nothing) ⇒ K2, g: (V) ⇒ V2): PropertyTree[K2, V2]
    Definition Classes
    PropertyTree
  9. val canBeSequence: Boolean
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flatMap[K1 >: Nothing, V1](f: (V) ⇒ PropertyTree[K1, V1]): PropertyTree[K1, V1]
    Definition Classes
    PropertyTree
  14. final def flatten[K1 >: Nothing, V1 >: V]: Map[Vector[K1], ::[V1]]
    Definition Classes
    PropertyTree
  15. final def flattenKeyAndValue[K1 >: Nothing, V1 >: V](pathDelimiter: String = ".", valueDelimiter: String = ":")(implicit KS: =:=[K1, String]): Map[String, String]
    Definition Classes
    PropertyTree
  16. final def flattenKeyWith[K1 >: Nothing, V1 >: V](f: (K1) ⇒ String)(appendPath: String): Map[String, ::[V1]]
    Definition Classes
    PropertyTree
  17. final def flattenString[K1 >: Nothing, V1 >: V](pathDelimiter: String = ".")(implicit KS: =:=[K1, String]): Map[String, ::[V1]]
    Definition Classes
    PropertyTree
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def getOrElse[K1 >: Nothing, V1 >: V](tree: ⇒ PropertyTree[K1, V1]): PropertyTree[K1, V1]
    Definition Classes
    PropertyTree
  20. final def getPath[K1 >: Nothing](k: List[K1]): PropertyTree[K1, V]
    Definition Classes
    PropertyTree
  21. final def isEmpty: Boolean
    Definition Classes
    PropertyTree
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def leafNotASequence: PropertyTree[Nothing, V]
    Definition Classes
    PropertyTree
  24. final def map[V2](f: (V) ⇒ V2): PropertyTree[Nothing, V2]
    Definition Classes
    PropertyTree
  25. final def mapEither[E, V2](f: (V) ⇒ Either[E, V2]): Either[E, PropertyTree[Nothing, V2]]
    Definition Classes
    PropertyTree
  26. final def mapKey[K2](f: (Nothing) ⇒ K2): PropertyTree[K2, V]
    Definition Classes
    PropertyTree
  27. final def merge[K1 >: Nothing, V1 >: V](that: PropertyTree[K1, V1]): List[PropertyTree[K1, V1]]
    Definition Classes
    PropertyTree
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def nonEmpty: Boolean
    Definition Classes
    PropertyTree
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. val value: V
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. def zip[K1 >: Nothing, V1](that: PropertyTree[K1, V1]): PropertyTree[K1, (V, V1)]
    Definition Classes
    PropertyTree

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PropertyTree[Nothing, V]

Inherited from AnyRef

Inherited from Any

Ungrouped