Package com.xebialabs.xlrelease.utils
Class TreeFunctions
java.lang.Object
com.xebialabs.xlrelease.utils.TreeFunctions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <A> scala.Function1<Tree<A>, scala.collection.immutable.List<A>> filterChildren(scala.Function1<A, Object> f) flatten()static <A,B> B static <A,B> scala.Function1 <Tree<A>, B> foldLeft(B z, scala.Function2<B, A, B> f) static <B,A> scala.Function1 <Tree<A>, B> foldRight(B z, scala.Function2<A, B, B> f) static <A,U> scala.Function1 <Tree<A>, scala.runtime.BoxedUnit> foreach(scala.Function1<A, U> f) map(scala.Function1<A, B> f) mapNode(scala.Function1<A, B> f) static <A> scala.collection.immutable.List<Tree.Node<A>> static <A> scala.Function1<Tree<A>, scala.collection.immutable.List<A>> toList()toOption()unsafeFlatMap(scala.Function1<Tree.Node<A>, Tree<B>> unsafeF) unsafeFlatMapNode(scala.Function1<Tree.Node<A>, Tree<B>> unsafeF) unsafeMapNode(scala.Function1<Tree.Node<A>, B> unsafeF) unsafeMapNode(scala.Function2<A, scala.collection.immutable.List<Tree.Node<B>>, B> unsafeF)
-
Constructor Details
-
TreeFunctions
public TreeFunctions()
-
-
Method Details
-
fold
-
prune
-
mapNode
-
map
-
filter
-
filterChildren
-
flattenNode
-
flatten
-
flatMap
-
foldLeft
-
foldRight
-
toOption
-
toList
-
bottomUpList
-
foreach
public static <A,U> scala.Function1<Tree<A>,scala.runtime.BoxedUnit> foreach(scala.Function1<A, U> f) -
unsafeMapNode
-
unsafeMapNode
-
unsafeMap
-
unsafeFlatMapNode
-
unsafeFlatMap
-