Package com.xebialabs.xlrelease.utils

# Class TreeFunctions$

java.lang.Object
com.xebialabs.xlrelease.utils.TreeFunctions$

public class TreeFunctions$ extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final TreeFunctions$`
  `MODULE$`
  Static reference to the singleton instance of this Scala object.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TreeFunctions$()`

- ## Method Summary

  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,Object> f)`
  `<A> scala.Function1<Tree.Node<A>,Tree.Node<A>>`
  `filterChildren(scala.Function1<A,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> B`
  `fold(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)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### MODULE$

    public static final TreeFunctions$ MODULE$
    Static reference to the singleton instance of this Scala object.

- ## Constructor Details

  - ### TreeFunctions$

    public TreeFunctions$()

- ## Method Details

  - ### 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)

  - ### mapNode

    public <A, B> scala.Function1<Tree.Node<A>,Tree.Node<B>> mapNode(scala.Function1<A,B> f)

  - ### map

    public <A, B> scala.Function1<Tree<A>,Tree<B>> map(scala.Function1<A,B> f)

  - ### filter

    public <A> scala.Function1<Tree<A>,Tree<A>> filter(scala.Function1<A,Object> f)

  - ### filterChildren

    public <A> scala.Function1<Tree.Node<A>,Tree.Node<A>> filterChildren(scala.Function1<A,Object> f)

  - ### flattenNode

    public <A> scala.Function1<Tree.Node<Tree<A>>,Tree<A>> flattenNode()

  - ### flatten

    public <A> scala.Function1<Tree<Tree<A>>,Tree<A>> flatten()

  - ### flatMap

    public <A, B> scala.Function1<Tree<A>,Tree<B>> flatMap(scala.Function1<A,Tree<B>> 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)

  - ### toOption

    public <A> scala.Function1<Tree<A>,scala.Option<Tree.Node<A>>> toOption()

  - ### 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)

  - ### unsafeFlatMap

    public <A, B> scala.Function1<Tree<A>,Tree<B>> unsafeFlatMap(scala.Function1<Tree.Node<A>,Tree<B>> unsafeF)