Class AssemblyContextGraph.Vertex

    • Constructor Summary

      Constructors 
      ChangeModifier Constructor Description
      protected Vertex​(AssemblyPatternBlock context, java.lang.String subtable)
      Construct a new vertex with the given block and subtable name
    • Field Detail

      • subtable NEW

        protected final java.lang.String subtable

Constructor Detail

  • Method Detail

    • matches NEW

      public boolean matches​(AssemblyContextGraph.Vertex that)
      Check if this and another vertex "agree" This doesn't mean they're equal, but that they share a subtable, and the defined bits of their context blocks agree.
      Parameters:
      that - the other vertex
      Returns:
      true iff they share subtables and defined bits
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

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

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object