commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <ja...@carmanconsulting.com>
Subject Re: [COLLECTIONS] [DISCUSS] Possible candidate for inclusion in Commons-Collections: OrderedSet (provides composite-key based ordering of a set of values)
Date Fri, 08 Apr 2016 11:19:58 GMT
Couldn't you achieve the same thing using any SortedSet and
CompareToBuilder?
On Fri, Apr 8, 2016 at 2:17 AM Daniel Vimont <daniel@commonvox.org> wrote:

> Hello all,
>
> I've just published a new extension to the standard Java Collections
> Framework to both GitHub and the Maven Central Repository, and am
> considering offering it up for possible inclusion in the Apache Commons
> Collections package.
>
> The name of the class is "OrderedSet", which is an abbreviated version of
> its original working name, "CompositeKeyOrderedSet". As its previous
> working name suggests, an OrderedSet provides for composite-key based
> ordering of a set of values (analogous to composite-key ordering in a
> relational database). To get a better sense of what that actually means,
> the README text on the project's GitHub page provides a quick overview (or
> dive down into the source code on the GitHub page, if you prefer):
> https://github.com/dvimont/OrderedSet
>
> For more thorough end-user documentation, the project's Javadocs can be
> consulted:
> http://bit.ly/ordered-set
>
> I realize that "Apache Commons is a Commit-Then-Review community", but
> before I go through the steps of preparing a patch for submission I wanted
> to get some feedback, if possible, regarding whether this class would be
> appropriate for inclusion in the Apache Commons Collections package, and to
> be sure that its core functionality does not duplicate either (a) some
> already-existing component of the package or (b) some alternate, well-known
> (to all but me!) means of achieving automated composite-key-style ordering
> (in Java 1.6+).
>
> Thanks very much,
>
> Dan Vimont
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message