Subtraction is technically the same as adding a negative, so there was no need to add a subtraction operator to the doOperation method. Conversions from subtraction to adding a negative are most likely done during the expansion/compression portion of the parse method.
William Hemsworth commented: long time, no see :D +9
Alex Edwards 321 Posting Shark
Alex Edwards 321 Posting Shark
Alex Edwards 321 Posting Shark
stephen84s commented: Thanks for catching that one, Now I remember the same problem had made me switch to use ArrayDeques in one of earlier projects. +3