Jon Zeppieri wrote:
> I just finished a java.util.Hashtable (JDK1.2 compliant) implementation, and
> am offering it up, if it is wanted.  Where should I send it?

Hi, Jon!  I don't think that one is done.  If you want to work on java.util,
you'll need to coordinate with Stuart Balland and Scott Miller.  (Look in
the mail archive at http://www.classpath.org/archive/ for the
Observable/Observer thread).  Scott is the one mostly working on the
concrete collections implementations.  You should send your code to Paul
Fisher ([EMAIL PROTECTED]) - after it is done. See below.
 
> Oh -- I don't quite understand the "Serialized Form" for Hashtable, so it
> isn't yet binary compatible with the JDK.  It's also at present wholly
> undocumented.  I'm perfectly willing to complete both tasks, but someone is
> going to have to explain the finer points of the former to me.

You'll need to write methods called readObject and writeObject that save and
restore state in the method the JDK specified in the 1.2beta4 docs.  (In
case you haven't noticed yet, our target for java.util is Java 1.2).  These
methods are passed Object{Input,Outupt}Stream's that provide easy methods
for serializing the data in the order specified by the serialized form doc. 
Check out the javadocs for java.io.Serializable for details.

Yes, you should finish off the serialization and javadoc comments before
sending to Paul.  When writing the docs, be sure not to copy from Sun's
javadocs.  You can use the information contained in them, but you need to
write things in your own words.  (Yes, I know that warning probably wasn't
necessary - I'm paranoid, ok?)

-- 
*****************************************************
* Aaron M. Renn                                     *
* Email: [EMAIL PROTECTED]                      *
* Homepage: <URL:http://www.urbanophile.com/arenn/> *
*****************************************************

Reply via email to