You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.storage.DummyByteString

java.lang.Object
   |
   +----grendel.storage.ByteString
           |
           +----grendel.storage.DummyByteString

Kludge used by ByteStringTable. This behaves like ByteString, but does its dirty work on an array and offset into it, without copying it.

See Also: ByteString, ByteStringTable


class  DummyByteString
     extends grendel.storage.ByteString
{
          // Fields 2
     int length;
     int start;

          // Constructors 1
     DummyByteString();

          // Methods 5
     public boolean equals(Object);
     public int hashCode();
     void setBytes(byte[], int, int);
     public ByteBuf toByteBuf();
     public String toString();
}



Fields


start

   int start


length

   int length



Constructors


DummyByteString

   DummyByteString() 



Methods


setBytes

   void setBytes(byte[] data, 
                 int start, 
                 int length) 


toString

   public String toString() 
Overrides:
toString in class ByteString


toByteBuf

   public ByteBuf toByteBuf() 
Overrides:
toByteBuf in class ByteString


hashCode

   public int hashCode() 
Overrides:
hashCode in class ByteString


equals

   public boolean equals(Object x) 
Overrides:
equals in class ByteString


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4