At 08:52 23.12.99 -0600, you wrote:
>
>
>>
>> public Enumeration sortedElements() {
>> int size = registryList.size();
>> Vector sortedElements = new Vector(size);
>> for (int i = 0; i < size; ++i) {
>> sortedElements.add(getElement((String)
>registryList.elementAt(i)));
>> }
>> return sortedElements.elements();
>> }
>
>why?
>
>public Enumeration sortedElements()
>{
> return registryList.elements();
>}
>
>Lets try not to consume more memory then necessary.
Unfortunately, it's impossible to create some high-level objects without
this functionality.
Zeljko Trogrlic
____________________________________________________________
@-solutions GmbH
Grillparzer Str. 14; D-81675 Muenchen
Tel.: 089/45 79 0-351; Fax.: 089/45 79 0-321
Email: mailto:[EMAIL PROTECTED] WWW: http://www.at-solutions.de
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]