Package com.xebialabs.xlrelease.utils
Class Tree.TreeOps<A>
- java.lang.Object
-
- scala.AnyVal
-
- com.xebialabs.xlrelease.utils.Tree.TreeOps<A>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.collection.immutable.List<A>
bottomUp()
boolean
equals(java.lang.Object x$1)
Tree<A>
filter(scala.Function1<A,java.lang.Object> f)
Tree<A>
filterChildren(scala.Function1<A,java.lang.Object> f)
<B> Tree<B>
flatMap(scala.Function1<A,Tree<B>> f)
<B> B
fold(scala.Function0<B> default_, scala.Function1<Tree.Node<A>,B> f)
<U> void
foreach(scala.Function1<A,U> f)
int
hashCode()
<B> Tree<B>
map(scala.Function1<A,B> f)
Tree<A>
t()
scala.collection.immutable.List<A>
toList()
scala.Option<Tree.Node<A>>
toOption()
scala.collection.immutable.List<A>
topDown()
<B> Tree<B>
unsafeFlatMap(scala.Function1<Tree.Node<A>,Tree<B>> f)
<B> Tree<B>
unsafeMap(scala.Function1<Tree.Node<A>,B> f)
-
-
-
Method Detail
-
foreach
public <U> void foreach(scala.Function1<A,U> f)
-
toList
public scala.collection.immutable.List<A> toList()
-
topDown
public scala.collection.immutable.List<A> topDown()
-
bottomUp
public scala.collection.immutable.List<A> bottomUp()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Overrides:
equals
in classjava.lang.Object
-
-