Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 13381 invoked from network); 24 Feb 2003 15:57:48 -0000 Received: from mail.ph.com (HELO exchange1.ph.com) (208.45.16.195) by daedalus.apache.org with SMTP; 24 Feb 2003 15:57:48 -0000 Received: by exchange1.ph.com with Internet Mail Service (5.5.2655.55) id ; Mon, 24 Feb 2003 11:01:48 -0500 Message-ID: <3F7D2F3B92CBD411945A0008C70737B90261CCAB@exchange1.ph.com> From: Robert Egan To: 'Jakarta Commons Users List' Subject: RE: toSet(Object []) missing? Date: Mon, 24 Feb 2003 11:01:45 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You can create a Set from a Collection, and List extends Collection. Robert Egan -----Original Message----- From: Erik Price [mailto:eprice@ptc.com] Sent: Monday, February 24, 2003 10:53 AM To: Jakarta Commons Users List Subject: Re: toSet(Object []) missing? Andrew.Ferguson@arm.com wrote: > hi, > > is there any API to do > > Set ArrayToSet(Object []) > > I can't find anything in the Java API or Commons? There is List java.util.Arrays.asList(Object[] arr) But I don't see one for Set. Erik --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org ************************************************************************* PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. *************************************************************************