[1181] in java-interest
Additional "standardized" collection classes?
daemon@ATHENA.MIT.EDU (Bob Beck)
Fri Aug 25 15:18:43 1995
To: java-interest@java.sun.com
From: rbk@ibeam.jf.intel.com (Bob Beck)
Date: Wed, 23 Aug 95 13:46:13 Pacific Daylight Time--100
Are there going to be additional "standardized" collection classes in later
alpha's, the beta, or FCS of Java? Ie, in alpha2 on NT there is a "Vector"
class, and a "Hashtable", with some commonality in interface (eg, both use
the Enumeration interface for iteration over elements). The system needs a
"Set" abstraction, "Bag" (or multi-set), "SortedCollection" (my Smalltalk
background may be showing here ;-), and maybe "Identity" versions of some of
these (use '==' for comparison instead of equals()). Also, a nicer
"OrderedCollection" in addition to Vector would be useful (more efficient at
removing elements from the ends, so it could be an efficient queue).
I've built simple (but useful) Set and Bag classes, but it would be better
if there were a "standard" set of collection classes applications could rely on.
--
Bob Beck rbk@ibeam.intel.com CompuServe: 71674,106
Intel Corporation (503)264-8856 AOL: RDBeck
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com