Zeljko Trogrlic wrote:

> At 08:52 23.12.99 -0600, you wrote:
> >
> >
> >Zeljko Trogrlic wrote:
> >
> >> Sorry, but I didn't knew there is FAQ. Where can I find it?
> >>
> >> Second: it's very important for my project to get elements contained in
> >> ConcreteElement in the same order as they were added. Are you interested to
> >> incorporate those changes into ConcreteElement?
> >
> >I believe the vector registryList ( pretty sure that is its name is what
> >you want
> >to get at.  It is simple to have elements() return it's enumeration
> >instead of the
> >hash's enumeration.
>
> It contains hashcodes, not elements.

Right, but now you have an ordered enumerated list of elements so when iterating
through nextElement() you would call getElement((String)nextElement()) there is no
need to create a seperate ordered element list, just use the enumeration of
hashcodes.

-stephan





--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to