Interface BoundTerm<T>

  • Type Parameters:
    T - the Java type of values produced by this term
    All Superinterfaces:
    Bound<T>, java.io.Serializable, Term
    All Known Implementing Classes:
    BoundReference, BoundTransform

    public interface BoundTerm<T>
    extends Bound<T>, Term
    Represents a bound term.
    • Method Detail

      • type

        Type type()
        Returns the type produced by this expression.
      • comparator

        default java.util.Comparator<T> comparator()
        Returns a Comparator for values produced by this term.
      • isEquivalentTo

        boolean isEquivalentTo​(BoundTerm<?> other)
        Returns whether this term is equivalent to another.
        Parameters:
        other - a term
        Returns:
        true if this term returns the same values as the other, false otherwise