org.scalawag.timber.impl

ImmutableValve

case class ImmutableValve(open: Boolean, outs: Set[ImmutableVertex], name: Option[String] = scala.None) extends ImmutableVertex with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, ImmutableVertex, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ImmutableValve
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ImmutableVertex
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ImmutableValve(open: Boolean, outs: Set[ImmutableVertex], name: Option[String] = scala.None)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val closed: Boolean

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flatMap(prune: (ImmutableVertex) ⇒ Boolean, transform: (ImmutableVertex, Set[ImmutableVertex]) ⇒ Set[ImmutableVertex]): ImmutableVertex

    Transforms this vertex and all of its descendants (all vertices reachable through its "outs").

    Transforms this vertex and all of its descendants (all vertices reachable through its "outs"). It is guaranteed that each vertex will be visited exactly once, after all of its outs have been processed. When an vertex is reachable through multiple paths, it will be transformed once and the resulting vertex will be placed at the corresponding locations in all the paths. A tree must be processed within one call or else it's possible to get duplicates. So, don't explicitly call flatMap on the children of a vertex and piece it back together yourself.

    prune

    a function called on each vertex prior to processing its descendents to determine whether this path needs to be pursued. If you know that this vertex will be pruned, this method should return true to avoid processing its descendents.

    transform

    the function used to transform each vertex. The first argument is the original vertex (pre- transformation). The second argument is the set of successors that the transformed vertex should include in its outs. Note that this may be different from the successors of the original vertex that it passed in. Those should likely be ignored. The return value should be the newly transformed vertices with which the source vertex should be replaced.

    Definition Classes
    ImmutableVertex
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. def map(transform: (ImmutableVertex, Set[ImmutableVertex]) ⇒ ImmutableVertex): ImmutableVertex

    Transforms this vertex and all of its successors (all vertices reachable through its "outs").

    Transforms this vertex and all of its successors (all vertices reachable through its "outs"). It is guaranteed that each vertex will be visited exactly once, after all of its outs have been processed. When an vertex is reachable through multiple paths, it will be transformed once and the resulting vertex will be placed at the corresponding locations in all the paths. A tree must be processed within one call or else it's possible to get duplicates. So, don't explicitly call flatMap on the successors of a vertex and piece it back together yourself.

    transform

    the function used to transform each vertex. The first argument is the original vertex (pre- transformation). The second argument is the set of successors that the transformed vertex should include in its outs. Note that this may be different from the outs of the original vertex that it passed in. Those should likely be ignored. The return value should be the newly transformed vertex with the child vertices provided.

    Definition Classes
    ImmutableVertex
  15. val name: Option[String]

    Definition Classes
    ImmutableValveImmutableVertex
  16. def namedVertices: Map[String, ImmutableVertex]

    Definition Classes
    ImmutableVertex
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. val open: Boolean

  21. def optimized: ImmutableVertex

    Removes paths in the graph that can not reach an EntryReceiver.

    Removes paths in the graph that can not reach an EntryReceiver. This currently includes:

    • anything only reachable through a closed ImmutableValve
    • anything that has no outbound path leading to a EntryReceiver (e.g., one was never attached)
    Definition Classes
    ImmutableVertex
  22. val outs: Set[ImmutableVertex]

  23. def reconfigure(name: String, value: AnyRef): ImmutableVertex

    Definition Classes
    ImmutableVertex
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def visit(prune: (ImmutableVertex) ⇒ Boolean, visit: (ImmutableVertex) ⇒ Unit): Unit

    Definition Classes
    ImmutableVertex
  26. def visit(fn: (ImmutableVertex) ⇒ Unit): Unit

    Calls the specified function exactly once for each vertex reachable from the specified root vertex.

    Calls the specified function exactly once for each vertex reachable from the specified root vertex. Even if there are multiple paths to a given vertex, the function will only be called once for that vertex. The traversal is depth-first, so all of an vertex's successors are guaranteed to be visited before the vertex itself.

    Definition Classes
    ImmutableVertex
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ImmutableVertex

Inherited from AnyRef

Inherited from Any

Ungrouped