Interface OWLPairwiseBooleanVisitor<C>

Type Parameters:
C - type of elements to accept
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface OWLPairwiseBooleanVisitor<C>
Functional interface for a visitor that applies a function to two arguments, and returns a value. This is used by OWLNaryAxiom to pass the elements in its collection in pairs, e.g., all pairwise disjoint class expressions in a disjoint class axiom.
Since:
5.0.0
Author:
ignazio
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    visit(C a, C b)
    The order of the arguments depend on the visited element.
  • Method Details

    • visit

      boolean visit(C a, C b)
      The order of the arguments depend on the visited element.
      Parameters:
      a - first argument
      b - second argument
      Returns:
      return value for the visitor