I've been doing a little clean-up of commons-primitives in order to move toward a 1.1 (or better) release.

I notice that back in April several Stack implementations were introduced, with names like FloatStack and IntStack, etc.

I wonder if:

1) in keeping with the XxxList implementations, if XxxStack should in fact be an interface, rather than a concrete class

2) we might be able to get away with simply adding the stack methods (push/peek/pop) to the XxxList interfaces, and providing adapters to and from the Object based Stack, as necessary.

3) we should make XxxStack descend from XxxCollection, at minimum

Any thoughts?

- Rod

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to