Class LabelCondition

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<LabelCondition>

    public class LabelCondition
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<LabelCondition>
    Conditions on node/edge labels: label(node(i)) = v
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the com.gdblab.pathAlgebra.expressions.LabelCondition type.
      • TARGET

        public static final Name TARGET
        Name of the com.gdblab.pathAlgebra.expressions.LabelCondition.target field.
      • VALUE

        public static final Name VALUE
        Name of the com.gdblab.pathAlgebra.expressions.LabelCondition.value field.
      • value

        public final java.lang.String value
    • Constructor Detail

      • LabelCondition

        public LabelCondition​(PathElement target,
                              java.lang.String value)
        Constructs an immutable LabelCondition.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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