Class InfixToRPNSolution

java.lang.Object
  |
  +--InfixToRPNSolution
All Implemented Interfaces:
IInfixToRPN

public class InfixToRPNSolution
extends Object
implements IInfixToRPN

Infix to RPN translator.


Constructor Summary
InfixToRPNSolution()
          Constructs a new translator.
 
Method Summary
 String translate(String anInfix)
          Returns the RPN representation of the given infix notation expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfixToRPNSolution

public InfixToRPNSolution()
Constructs a new translator.

Method Detail

translate

public String translate(String anInfix)
Returns the RPN representation of the given infix notation expression.

Specified by:
translate in interface IInfixToRPN
Parameters:
anInfix - expression in infix to translate