Interface HasOperands<T extends OWLObject>

Type Parameters:
T - operand type
All Known Subinterfaces:
OWLDataIntersectionOf, OWLDataOneOf, OWLDataUnionOf, OWLDifferentIndividualsAxiom, OWLDisjointClassesAxiom, OWLDisjointDataPropertiesAxiom, OWLDisjointObjectPropertiesAxiom, OWLDisjointUnionAxiom, OWLEquivalentClassesAxiom, OWLEquivalentDataPropertiesAxiom, OWLEquivalentObjectPropertiesAxiom, OWLHasKeyAxiom, OWLInverseObjectPropertiesAxiom, OWLNaryAxiom<C>, OWLNaryBooleanClassExpression, OWLNaryClassAxiom, OWLNaryDataRange, OWLNaryIndividualAxiom, OWLNaryPropertyAxiom<P>, OWLObjectIntersectionOf, OWLObjectOneOf, OWLObjectUnionOf, OWLSameIndividualAxiom
All Known Implementing Classes:
OWLDataIntersectionOfImpl, OWLDataOneOfImpl, OWLDataUnionOfImpl, OWLDifferentIndividualsAxiomImpl, OWLDisjointClassesAxiomImpl, OWLDisjointDataPropertiesAxiomImpl, OWLDisjointObjectPropertiesAxiomImpl, OWLDisjointUnionAxiomImpl, OWLEquivalentClassesAxiomImpl, OWLEquivalentDataPropertiesAxiomImpl, OWLEquivalentObjectPropertiesAxiomImpl, OWLHasKeyAxiomImpl, OWLInverseObjectPropertiesAxiomImpl, OWLNaryBooleanClassExpressionImpl, OWLNaryClassAxiomImpl, OWLNaryDataRangeImpl, OWLNaryIndividualAxiomImpl, OWLNaryPropertyAxiomImpl, OWLObjectIntersectionOfImpl, OWLObjectOneOfImpl, OWLObjectUnionOfImpl, OWLSameIndividualAxiomImpl
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 HasOperands<T extends OWLObject>
An interface to objects that have a collection of operands.
Since:
5.0.0
Author:
Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group
  • Method Summary

    Modifier and Type
    Method
    Description
    default List<T>
    Gets the operands as a list.
    Gets the operands - e.g., the individuals in a sameAs axiom, or the classes in an equivalent classes axiom.
  • Method Details

    • operands

      Stream<T> operands()
      Gets the operands - e.g., the individuals in a sameAs axiom, or the classes in an equivalent classes axiom.
      Returns:
      The operands.
    • getOperandsAsList

      default List<T> getOperandsAsList()
      Gets the operands as a list.
      Returns:
      The operands.