Class PatternImplication

  • All Implemented Interfaces:
    java.io.Serializable

    public class PatternImplication
    extends java.lang.Object
    implements java.io.Serializable
    A pattern which, if it matches in a given graph, implies that another pattern must also match. Query variables are shared between the two patterns.
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_NAME

        public static final Name TYPE_NAME
      • FIELD_NAME_ANTECEDENT

        public static final Name FIELD_NAME_ANTECEDENT
      • FIELD_NAME_CONSEQUENT

        public static final Name FIELD_NAME_CONSEQUENT
      • antecedent

        public final Pattern antecedent
      • consequent

        public final Pattern consequent
    • Constructor Detail

      • PatternImplication

        public PatternImplication​(Pattern antecedent,
                                  Pattern consequent)
    • 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