Well the class Parser was helpful for PALIN problem.
Earlier my best solution was around 1.58 and now it's around 1.20
WOW!!!!
But I have not yet tested it for TSHPATH. I would post the comment as soon as possible.
But can anyone comment on the Further Tuning article of kegel.com/java/wp-javaio.html;
Is the Parser Class exact solution of the article?