The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.storage.DummyByteString
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
Copyright © 1998-1999 The Mozilla Organization.
Last modified December 25, 1998.