remove redundency in list of pairs
- From: bluedoze@xxxxxxxxx
- Date: 27 Jun 2005 06:28:35 -0700
Hello,
I want to construct a list of pairs without dupliactes, not the key
value pairs, I just want to ensure that the pair (not ordered) is not
dupliacted in the list.
for example
method input: (3, 4), (5, 6), (4, 3), (6, 5)
method output: (3, 4), (5, 6).
I can do this manually, but is there any utility in the java language
itself ?
Bluedoze
.
- Follow-Ups:
- Re: remove redundency in list of pairs
- From: Leon
- Re: remove redundency in list of pairs
- Prev by Date: Re: formatting floats in a table
- Next by Date: saving an output file
- Previous by thread: formatting floats in a table
- Next by thread: Re: remove redundency in list of pairs
- Index(es):
Relevant Pages
|