net.sf.farrago.fennel.calc
Class CalcProgramBuilder.LiteralPair
java.lang.Object
net.sf.farrago.fennel.calc.CalcProgramBuilder.LiteralPair
- Enclosing class:
- CalcProgramBuilder
private static class CalcProgramBuilder.LiteralPair
- extends Object
A key-value pair class to hold
1) Value of a literal and
2) Type of a literal
For use in a hashtable
type
CalcProgramBuilder.OpType type
value
Object value
CalcProgramBuilder.LiteralPair
CalcProgramBuilder.LiteralPair(CalcProgramBuilder.OpType type,
Object value)
- "Precondition:"
- type!=null
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object