Class Literal

    • Field Detail

    • Constructor Detail

      • Literal

        public Literal​(Predicate predicate)
    • Method Detail

      • getAttributeIndex

        public int getAttributeIndex()
      • evaluate

        public boolean evaluate​(Instance inst)
      • getDescription

        public void getDescription​(StringBuilder sb,
                                   int indent)
        Description copied from interface: MOAObject
        Returns a string representation of this object. Used in AbstractMOAObject.toString to give a string representation of the object.
        Parameters:
        sb - the stringbuilder to add the description
        indent - the number of characters to indent