Package com.xebialabs.xlrelease.utils
Class TreeFunctions$
- java.lang.Object
-
- com.xebialabs.xlrelease.utils.TreeFunctions$
-
public class TreeFunctions$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static TreeFunctions$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description TreeFunctions$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A> scala.Function1<Tree<A>,scala.collection.immutable.List<A>>bottomUpList()<A> scala.Function1<Tree<A>,Tree<A>>filter(scala.Function1<A,java.lang.Object> f)<A> scala.Function1<Tree.Node<A>,Tree.Node<A>>filterChildren(scala.Function1<A,java.lang.Object> f)<A,B>
scala.Function1<Tree<A>,Tree<B>>flatMap(scala.Function1<A,Tree<B>> f)<A> scala.Function1<Tree<Tree<A>>,Tree<A>>flatten()<A> scala.Function1<Tree.Node<Tree<A>>,Tree<A>>flattenNode()<A,B>
Bfold(scala.Function0<B> default_, scala.Function1<Tree.Node<A>,B> f, Tree<A> t)<A,B>
scala.Function1<Tree<A>,B>foldLeft(B z, scala.Function2<B,A,B> f)<B,A>
scala.Function1<Tree<A>,B>foldRight(B z, scala.Function2<A,B,B> f)<A,U>
scala.Function1<Tree<A>,scala.runtime.BoxedUnit>foreach(scala.Function1<A,U> f)<A,B>
scala.Function1<Tree<A>,Tree<B>>map(scala.Function1<A,B> f)<A,B>
scala.Function1<Tree.Node<A>,Tree.Node<B>>mapNode(scala.Function1<A,B> f)<A> scala.collection.immutable.List<Tree.Node<A>>prune(scala.collection.immutable.List<Tree<A>> nodes)<A> scala.Function1<Tree<A>,scala.collection.immutable.List<A>>toList()<A> scala.Function1<Tree<A>,scala.Option<Tree.Node<A>>>toOption()<A,B>
scala.Function1<Tree<A>,Tree<B>>unsafeFlatMap(scala.Function1<Tree.Node<A>,Tree<B>> unsafeF)<A,B>
scala.Function1<Tree.Node<A>,Tree<B>>unsafeFlatMapNode(scala.Function1<Tree.Node<A>,Tree<B>> unsafeF)<A,B>
scala.Function1<Tree<A>,Tree<B>>unsafeMap(scala.Function1<Tree.Node<A>,B> unsafeF)<A,B>
scala.Function1<Tree.Node<A>,Tree.Node<B>>unsafeMapNode(scala.Function1<Tree.Node<A>,B> unsafeF)<A,B>
scala.Function1<Tree.Node<A>,Tree.Node<B>>unsafeMapNode(scala.Function2<A,scala.collection.immutable.List<Tree.Node<B>>,B> unsafeF)
-
-
-
Field Detail
-
MODULE$
public static final TreeFunctions$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
fold
public <A,B> B fold(scala.Function0<B> default_, scala.Function1<Tree.Node<A>,B> f, Tree<A> t)
-
prune
public <A> scala.collection.immutable.List<Tree.Node<A>> prune(scala.collection.immutable.List<Tree<A>> nodes)
-
filterChildren
public <A> scala.Function1<Tree.Node<A>,Tree.Node<A>> filterChildren(scala.Function1<A,java.lang.Object> f)
-
foldLeft
public <A,B> scala.Function1<Tree<A>,B> foldLeft(B z, scala.Function2<B,A,B> f)
-
foldRight
public <B,A> scala.Function1<Tree<A>,B> foldRight(B z, scala.Function2<A,B,B> f)
-
toList
public <A> scala.Function1<Tree<A>,scala.collection.immutable.List<A>> toList()
-
bottomUpList
public <A> scala.Function1<Tree<A>,scala.collection.immutable.List<A>> bottomUpList()
-
foreach
public <A,U> scala.Function1<Tree<A>,scala.runtime.BoxedUnit> foreach(scala.Function1<A,U> f)
-
unsafeMapNode
public <A,B> scala.Function1<Tree.Node<A>,Tree.Node<B>> unsafeMapNode(scala.Function2<A,scala.collection.immutable.List<Tree.Node<B>>,B> unsafeF)
-
unsafeMapNode
public <A,B> scala.Function1<Tree.Node<A>,Tree.Node<B>> unsafeMapNode(scala.Function1<Tree.Node<A>,B> unsafeF)
-
unsafeMap
public <A,B> scala.Function1<Tree<A>,Tree<B>> unsafeMap(scala.Function1<Tree.Node<A>,B> unsafeF)
-
unsafeFlatMapNode
public <A,B> scala.Function1<Tree.Node<A>,Tree<B>> unsafeFlatMapNode(scala.Function1<Tree.Node<A>,Tree<B>> unsafeF)
-
-