The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback


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 The Mozilla Organization.