Class BoundReference<T>

    • Method Detail

      • eval

        public T eval​(StructLike struct)
        Description copied from interface: Bound
        Produce a value from the struct for this expression.
        Specified by:
        eval in interface Bound<T>
        Parameters:
        struct - a struct of incoming data
        Returns:
        the value of this expression when evaluated on the incoming struct
      • ref

        public BoundReference<T> ref()
        Description copied from interface: Bound
        Returns the underlying reference.
        Specified by:
        ref in interface Bound<T>
      • type

        public Type type()
        Description copied from interface: BoundTerm
        Returns the type produced by this expression.
        Specified by:
        type in interface BoundTerm<T>
      • isEquivalentTo

        public boolean isEquivalentTo​(BoundTerm<?> other)
        Description copied from interface: BoundTerm
        Returns whether this term is equivalent to another.
        Specified by:
        isEquivalentTo in interface BoundTerm<T>
        Parameters:
        other - a term
        Returns:
        true if this term returns the same values as the other, false otherwise
      • fieldId

        public int fieldId()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object