Class BuilderKey

  • All Implemented Interfaces:

    public final class BuilderKey
    extends java.lang.Object
    implements TraversalBuildStep

    Helper class that is only used to identify a TraversalBuilder in a CompositeTraversalBuilder. The reason why this is needed is because the builder is referenced at various places, while it needs to be mutated. In an immutable data structure this is best done with an indirection, i.e. places refer to this immutable key and look up the current state in an extra Map. See comments in for more details.

    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BuilderKey

        public BuilderKey()
    • Method Detail

      • toString

        public java.lang.String toString()
        toString in class java.lang.Object