org.scalawag.timber.impl

ImmutableVertex

sealed trait ImmutableVertex extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ImmutableVertex
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val name: Option[String]

Concrete 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. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  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.

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

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

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

    Definition Classes
    Any
  15. 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.

  16. def namedVertices: Map[String, 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. 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)
  21. def reconfigure(name: String, value: AnyRef): ImmutableVertex

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. def visit(prune: (ImmutableVertex) ⇒ Boolean, visit: (ImmutableVertex) ⇒ Unit): Unit

  25. 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.

  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped