/** * Converts this multiplication to a human readable string representation. * * @return The string "<code>left * right</code>" where left and right have both been converted to * strings using their toString methods. */ public String toString() { return bracketComposite(getLeft()) + " * " + bracketComposite(getRight()); }
/** * Converts this node to a human readable representation. * * @return The string "<code>left - right</code>" where left and right have been converted to * strings using their toString methods. */ public String toString() { return bracketComposite(getLeft()) + " - " + bracketComposite(getRight()); }
/** * Converts this node into a human readable string. * * @return The string "<code>left</code> != <code>right</code>", where left and right are the results of the toString * methods of the left and right operand. */ public String toString() { return bracketComposite(getLeft()) + " != " + bracketComposite(getRight()); }
/** * Converts this node to a human readable string. * * @return The string "<code>left ^ right</code>" where left and right are the two operands converted to strings * using their toString methods. */ public String toString() { return bracketComposite(getLeft()) + " ^ " + bracketComposite(getRight()); } }
/** * Converts this node into a human readable string. * * @return The string "<code>left relation right</code>", where left and right are the results of the toString methods of * the left and right operand and relation is the concrete relation, e.g. <. */ public String toString() { return bracketComposite(getLeft()) + type + bracketComposite(getRight()); }
/** * Converts this node into a human readable string. * * @return The string "<code>left</code> && <code>right</code>", where left and right are the results of the toString * methods of the left and right operand. */ public String toString() { return bracketComposite(getLeft()) + " && " + bracketComposite(getRight()); }
/** * Converts this node into a human readable string representation. * @return Returns the string "<code>left . right</code>" where left and right are the two operands converted * to strings using their toString methods. */ public String toString() { return bracketComposite(getLeft()) + " . " + bracketComposite(getRight()); }
/** * Converts this node into a human readable string. * * @return The string "<code>left</code> || <code>right</code>", where left and right are the results of the toString * methods of the left and right operand. */ public String toString() { return bracketComposite(getLeft()) + " || " + bracketComposite(getRight()); }
/** * Converts this node into a human readable representation. * * @return The string "left ^ right" where both left and right have been converted to strings using their * toString methods. */ public String toString() { return bracketComposite(getLeft()) + " ^ " + bracketComposite(getRight()); }
/** * Converts this node into a human readable string. * * @return The string "<code>left</code> + <code>right</code>", where left and right are the results of the toString * methods of the left and right operand. */ public String toString() { return bracketComposite(getLeft()) + " + " + bracketComposite(getRight()); }
/** * Converts this node to a human readable string. * * @return The string "left / right" where left and right are the string returned by the toString method of the * left and right operands. */ public String toString() { return bracketComposite(getLeft()) + " / " + bracketComposite(getRight()); }
/** * Converts this node into a human readable string. * * @return The string "<code>left</code> == <code>right</code>", where left and right are the results of the toString * methods of the left and right operand. */ public String toString() { return bracketComposite(getLeft()) + " == " + bracketComposite(getRight()); }