public class Literal extends AbstractMOAObject
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Instance inst) |
int |
getAttributeIndex() |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
void |
getDescription(StringBuilder sb,
int indent,
InstanceInformation instanceInformation) |
String |
toString()
Returns a description of the object.
|
copy, copy, measureByteSize, measureByteSize
protected Predicate predicate
public Literal(Predicate predicate)
public int getAttributeIndex()
public boolean evaluate(Instance inst)
public void getDescription(StringBuilder sb, int indent)
MOAObject
AbstractMOAObject.toString
to give a string representation of the object.sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentpublic void getDescription(StringBuilder sb, int indent, InstanceInformation instanceInformation)
public String toString()
AbstractMOAObject
toString
in class AbstractMOAObject
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.