Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: JAVA MathSET API Date: Thu, 20 Mar 2014 14:39:46 -0400 Organization: A noiseless patient Spider Lines: 35 Message-ID: References: <3072d913-c0a8-4dc0-a957-2f761a4b7da1@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 20 Mar 2014 18:39:50 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="bd4e1cba8d8592bec5d5ed9e4537fbfd"; logging-data="3582"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lUVCxIV8vnvLCnBLMP3VB" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: Cancel-Lock: sha1:OHaRO7q53CGy+dT/KkftUxAkOpQ= Xref: csiph.com comp.lang.java.programmer:27801 On 3/20/2014 1:34 PM, Kai wrote: > On Thursday, March 6, 2014 10:13:46 PM UTC+4, Kai wrote: >> Hello all, >> >> >> >> I want to implement a mathematical set of strings using the JAVA API MathSET. >> >> Is there anything you can suggest for this implementation. >> >> >> >> Thanks > > I meant the type of set where we have union, intersection, etc.. I need to implement it using "mathSET API". Hashing also will be involved. Anyone can help for the implementation please? What's your difficulty? If by "JAVA API MathSET" you mean the class documented at , it looks like everything you ask is already done: Just grab the class and start using it. If by "JAVA API MathSET" you mean some other class, tell us what other class you mean and where we can find out about it. ... besides which, the included-with-Java classes that implement the java.util.Set interface already provide union and intersection via the addAll() and retainAll() methods, respectively. So, again: What problems are you having? -- Eric Sosman esosman@comcast-dot-net.invalid