Class GenericGraphWithChangedAttributes<S extends Shape,​Mat>

  • All Implemented Interfaces:
    Graph<S,​Mat>

    public final class GenericGraphWithChangedAttributes<S extends Shape,​Mat>
    extends java.lang.Object
    implements Graph<S,​Mat>
    INTERNAL API

    The implementation of a graph with an arbitrary shape with changed attributes. Changing attributes again prevents building up a chain of changes.

    • Constructor Detail

      • GenericGraphWithChangedAttributes

        public GenericGraphWithChangedAttributes​(S shape,
                                                 TraversalBuilder originalTraversalBuilder,
                                                 Attributes newAttributes)
    • Method Detail

      • shape

        public S shape()
        Description copied from interface: Graph
        The shape of a graph is all that is externally visible: its inlets and outlets.
        Specified by:
        shape in interface Graph<S extends Shape,​Mat>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • traversalBuilder

        public TraversalBuilder traversalBuilder()
        Description copied from interface: Graph
        INTERNAL API.

        Every materializable element must be backed by a stream layout module

        Specified by:
        traversalBuilder in interface Graph<S extends Shape,​Mat>