final case class Leaf[V](value: V, canBeSequence: Boolean = true) extends PropertyTree[Nothing, V] with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Leaf
- Serializable
- Serializable
- Product
- Equals
- PropertyTree
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
at[K1 >: Nothing](propertyTreePath: PropertyTreePath[K1]): PropertyTree[K1, V]
atallows us to fetch a sub-tree from property-treeatallows us to fetch a sub-tree from property-treeExample:
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
-
final
def
atIndex[K1 >: Nothing](index: Int): Option[PropertyTree[K1, V]]
- Definition Classes
- PropertyTree
-
final
def
atKey[K1 >: Nothing](key: K1): Option[PropertyTree[K1, V]]
- Definition Classes
- PropertyTree
-
def
bimap[K2, V2](f: (Nothing) ⇒ K2, g: (V) ⇒ V2): PropertyTree[K2, V2]
- Definition Classes
- PropertyTree
- val canBeSequence: Boolean
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMap[K1 >: Nothing, V1](f: (V) ⇒ PropertyTree[K1, V1]): PropertyTree[K1, V1]
- Definition Classes
- PropertyTree
-
final
def
flatten[K1 >: Nothing, V1 >: V]: Map[Vector[K1], ::[V1]]
- Definition Classes
- PropertyTree
-
final
def
flattenKeyAndValue[K1 >: Nothing, V1 >: V](pathDelimiter: String = ".", valueDelimiter: String = ":")(implicit KS: =:=[K1, String]): Map[String, String]
- Definition Classes
- PropertyTree
-
final
def
flattenKeyWith[K1 >: Nothing, V1 >: V](f: (K1) ⇒ String)(appendPath: String): Map[String, ::[V1]]
- Definition Classes
- PropertyTree
-
final
def
flattenString[K1 >: Nothing, V1 >: V](pathDelimiter: String = ".")(implicit KS: =:=[K1, String]): Map[String, ::[V1]]
- Definition Classes
- PropertyTree
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
getOrElse[K1 >: Nothing, V1 >: V](tree: ⇒ PropertyTree[K1, V1]): PropertyTree[K1, V1]
- Definition Classes
- PropertyTree
-
final
def
getPath[K1 >: Nothing](k: List[K1]): PropertyTree[K1, V]
- Definition Classes
- PropertyTree
-
final
def
isEmpty: Boolean
- Definition Classes
- PropertyTree
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
leafNotASequence: PropertyTree[Nothing, V]
- Definition Classes
- PropertyTree
-
final
def
map[V2](f: (V) ⇒ V2): PropertyTree[Nothing, V2]
- Definition Classes
- PropertyTree
-
final
def
mapEither[E, V2](f: (V) ⇒ Either[E, V2]): Either[E, PropertyTree[Nothing, V2]]
- Definition Classes
- PropertyTree
-
final
def
mapKey[K2](f: (Nothing) ⇒ K2): PropertyTree[K2, V]
- Definition Classes
- PropertyTree
-
final
def
merge[K1 >: Nothing, V1 >: V](that: PropertyTree[K1, V1]): List[PropertyTree[K1, V1]]
- Definition Classes
- PropertyTree
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
nonEmpty: Boolean
- Definition Classes
- PropertyTree
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val value: V
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
zip[K1 >: Nothing, V1](that: PropertyTree[K1, V1]): PropertyTree[K1, (V, V1)]
- Definition Classes
- PropertyTree