|
JLab | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectdataStructures.BinaryTree
dataStructures.Expression
public class Expression
คลาสที่สร้างนิพจน์คณิตศาสตร์ด้วยต้นไม้นิพจน์
Constructor Summary | |
---|---|
Expression(Expression e)
|
|
Expression(List infix)
|
Method Summary | |
---|---|
void |
diff()
|
double |
eval()
|
static List |
infix2Postfix(List infix)
|
Methods inherited from class dataStructures.BinaryTree |
---|
height, inOrder, numNodes, postOrder, preOrder, toArray |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Expression(Expression e)
public Expression(List infix)
Method Detail |
---|
public double eval()
public void diff()
public static List infix2Postfix(List infix)
|
JLab | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |