Interface SWRLBinaryAtom<A extends SWRLArgument,B extends SWRLArgument>

Type Parameters:
A - type of first argument
B - type of second argument
All Superinterfaces:
Comparable<OWLObject>, HasAnnotationPropertiesInSignature, HasAnonymousIndividuals, HasClassesInSignature, HasComponents, HasContainsEntityInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasHashIndex, HasIndex, HasIndividualsInSignature, HasObjectPropertiesInSignature, HasSignature, IsAnonymous, OWLObject, Serializable, SWRLAtom, SWRLObject
All Known Subinterfaces:
SWRLDataPropertyAtom, SWRLDifferentIndividualsAtom, SWRLObjectPropertyAtom, SWRLSameIndividualAtom
All Known Implementing Classes:
SWRLBinaryAtomImpl, SWRLDataPropertyAtomImpl, SWRLDifferentIndividualsAtomImpl, SWRLObjectPropertyAtomImpl, SWRLSameIndividualAtomImpl

public interface SWRLBinaryAtom<A extends SWRLArgument,B extends SWRLArgument> extends SWRLAtom
Represents an atom with two ordered arguments.
Since:
2.0.0
Author:
Matthew Horridge, The University Of Manchester, Medical Informatics Group
  • Method Details

    • components

      default Stream<?> components()
      Specified by:
      components in interface HasComponents
      Returns:
      components as a stream. The stream is ordered (by visit order) but not sorted. Implementations that override components() must ensure the order is compatible with equals() and hashCode().
    • initHashCode

      default int initHashCode()
      Specified by:
      initHashCode in interface OWLObject
      Returns:
      hash code for the object; called on first use, cached by OWLObjectImpl in the default implementation.
    • getFirstArgument

      A getFirstArgument()
      Gets the first argument.
      Returns:
      The second argument
    • getSecondArgument

      B getSecondArgument()
      Gets the second argument.
      Returns:
      The second argument