About Question enthuware.ocpjp.v7.2.1626 :
Posted: Fri Sep 20, 2013 9:46 am
Hi,
So it would be neither like regex nor like glob syntax. Their corresponding pattern would be [DELIM]. Is it correct?
Furthermore I see that there are 2 methods very similar nextToken and nextElement, the former return a String and the latter returns an Object.
What's the purpose of having nextElement? StringTokenizer always acts on Strings..
Thanks in advance.
The_Nick.
So it would be neither like regex nor like glob syntax. Their corresponding pattern would be [DELIM]. Is it correct?
Furthermore I see that there are 2 methods very similar nextToken and nextElement, the former return a String and the latter returns an Object.
What's the purpose of having nextElement? StringTokenizer always acts on Strings..
Thanks in advance.
The_Nick.