![]() |
All Packages This Package Class Hierarchy Class Search Index Class grendel.storage.MessageIDTablejava.lang.Object | +----grendel.storage.Obarray | +----grendel.storage.MessageIDTable This is a mechanism for uniqueifying MessageID objects. To save memory, we want all `equal' IDs to also be `=='. This table is how we accomplish that. See intern().
See Also: MessageID, ByteStringTable
class MessageIDTable
extends grendel.storage.Obarray
{
// Fields 1
protected MessageID dummy;
// Constructors 2
MessageIDTable();
MessageIDTable(int);
// Methods 3
protected synchronized Object checkHash(byte[], int, int);
public int intern(MessageID);
protected Object newInternable(byte[], int, int);
}
Fields dummyprotected MessageID dummy
Constructors MessageIDTableMessageIDTable(int default_size) MessageIDTableMessageIDTable() Methods checkHashprotected synchronized Object checkHash(byte[] bytes, int start, int length) newInternableprotected Object newInternable(byte[] bytes, int start, int length)
internpublic int intern(MessageID id)
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|
|
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998. |
|