java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.traverser.util.LabelledCounter
All Implemented Interfaces:
Serializable, Cloneable

public class LabelledCounter extends Object implements Serializable, Cloneable
Class to track a count associated with a Label
See Also:
  • Constructor Details

    • LabelledCounter

      protected LabelledCounter()
    • LabelledCounter

      public LabelledCounter(String label, short initialCount)
  • Method Details

    • getLabel

      public String getLabel()
    • hasLabel

      public boolean hasLabel(String label)
    • count

      public int count()
    • increment

      public void increment()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object