On 10 Oct 2002, John McNally wrote:
> This class is badly named and I am not sure it belongs in collections.
> The original use of this class was to join sql fragments together to
> form a where clause or a list of columns, etc. So its class doc should
> be something like:
>
> This behavour is almost similar to StringUtils.join method though that
> does not handle the unique requirement. Maybe a suitable replacement
> could be added to lang.StringUtils?
Well.... It can be done. Touch more work as usual :)
HashSet the strings. Then pass an Iterator to StringUtils.join?
Just a thought.
> StringStack's original source was torque and we will adjust to the
> removal of the class. It really should be deprecated, I'm not sure I
> see the value in trying to create a Stack or List implementation out of
> the current class.
+1
Let me know what would be good for you in StringUtils.
Hen
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>