Lambda the Ultimate

inactiveTopic Java Collections Clearinghouse
started 7/12/2002; 3:01:47 AM - last post 7/12/2002; 7:35:17 PM
Ehud Lamm - Java Collections Clearinghouse  blueArrow
7/12/2002; 3:01:47 AM (reads: 1690, responses: 1)
Java Collections Clearinghouse
The purpose of the Java Collections Clearinghouse (JCC) site is to exchange Java Collections API implementations and Java DataTransfer API implementations among the Java development community. The Java Collections Framework in Java 2 is a very powerful set of data structures and has the most commonly used data structures built in. However, it provides interfaces which can be used to write even more data structures. This site is designed for housing these data structures.

One of the things that I really like about the Java Collections is the clear separation of interfaces and implementations. This site shows one reason why this is such a good idea.

Please note that as general design direction for container libraries I prefer genericity (ala the STL) to inheritance. Still, interfaces should be clearly defined, separate, entities.

Posted to OOP by Ehud Lamm on 7/12/02; 3:03:16 AM

Adewale Oshineye - Re: Java Collections Clearinghouse  blueArrow
7/12/2002; 7:35:17 PM (reads: 579, responses: 0)
Whilst I agree that the design of the API is good I find that some of the implementations are below par. Having implementations that throw UnsupportedOperationException when they didn't want to adhere to the general contract of an interface is a very bad thing. In an ideal world they would have asked why implementations weren't supporting these operations and revised their interfaces accordingly. See Timothy Budd's Classic data structures in Java for a more detailed critique of the Collections API.