----- Original Message ----- 
From: "peter lin" <[EMAIL PROTECTED]>
To: "JMeter Developers List" <[EMAIL PROTECTED]>
Sent: Thursday, January 08, 2004 3:47 AM
Subject: Re: JMeter now builds and runs on JDK 1.3


> that sounds totally fine to me, since the order of the
> links is not important. I doubt it ever would be
> important to have the links returned in the original
> order.

Yes - at the moment it's only used for downloading embedded resources.

I should have mentioned that there is another version of the method that accepts an 
arbitrary Collection.
This could for example be a Vector(), which would return *all* the links (duplicates 
not removed) in order of discovery.

If the Collection parameter is omitted, LinkedHashSet (1.4) or HashSet (1.3) are used, 
thus eliminating duplicates.

> > The following behave slightly differently on 1.3:
> > - HTMLParser.getEmbeddedResourceURLs() no longer
> > returns the URLs in the order they were found.

S.

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

Reply via email to