Interface OWLPairwiseVisitor<T,C>

Type Parameters:
T - returned type
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 OWLPairwiseVisitor<T,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:
4.0.0
Author:
ignazio
  • Method Summary

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

    • visit

      @Nullable T 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