new feature - dedupe() in 1.0

2 views
Skip to first unread message

Pangea

unread,
Nov 12, 2009, 11:01:57 PM11/12/09
to Google Collections Library - users list
De-duplication is a very common functionality in data cleansing
usecases. Is it possible to add deduping?

deduping is eliminating duplicates from a collections

[Apple, Orange, Apple, Banana, Apple, Papaya] after dedupe is [Apple,
Orange, Banana, Papaya]

Robert Konigsberg

unread,
Nov 12, 2009, 11:04:18 PM11/12/09
to Pangea, Google Collections Library - users list
How would a deduping API be better than simply sticking the elements  [Apple, Orange, Apple, Banana, Apple, Papaya] into a HashSet?


--
Google Collections Library - users list
http://groups.google.com/group/google-collections-dev?hl=en

To unsubscribe, send email to:
google-collections...@googlegroups.com



--
Robert Konigsberg
konig...@gmail.com

Pangea

unread,
Nov 12, 2009, 11:09:33 PM11/12/09
to Google Collections Library - users list
right ;-)....not sure what i was thinking

On Nov 12, 11:04 pm, Robert Konigsberg <konigsb...@gmail.com> wrote:
> How would a deduping API be better than simply sticking the elements
> [Apple, Orange, Apple, Banana, Apple, Papaya] into a HashSet?
>
> On Thu, Nov 12, 2009 at 11:01 PM, Pangea <yarav...@gmail.com> wrote:
> > De-duplication is a very common functionality in data cleansing
> > usecases. Is it possible to add deduping?
>
> > deduping is eliminating duplicates from a collections
>
> > [Apple, Orange, Apple, Banana, Apple, Papaya] after dedupe is [Apple,
> > Orange, Banana, Papaya]
>
> > --
> > Google Collections Library - users list
> >http://groups.google.com/group/google-collections-dev?hl=en
>
> > To unsubscribe, send email to:
> > google-collections...@googlegroups.com
>
> --
> Robert Konigsberg
> konigsb...@gmail.com
Reply all
Reply to author
Forward
0 new messages