org.exist.util
Class FixedByteArray

java.lang.Object
  extended byorg.exist.util.FixedByteArray
All Implemented Interfaces:
ByteArray

public class FixedByteArray
extends java.lang.Object
implements ByteArray


Constructor Summary
FixedByteArray(byte[] data)
           
 
Method Summary
 void append(byte b)
           
 void append(byte[] b)
           
 void append(byte[] b, int offset, int length)
           
 void copyTo(byte[] b, int offset)
           
 void copyTo(byte[] b, int offset, int length)
           
 void copyTo(int start, byte[] newBuf, int offset, int len)
           
 void release()
           
 void setLength(int len)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedByteArray

public FixedByteArray(byte[] data)
Method Detail

setLength

public void setLength(int len)
Specified by:
setLength in interface ByteArray

copyTo

public void copyTo(byte[] b,
                   int offset,
                   int length)
Specified by:
copyTo in interface ByteArray

copyTo

public void copyTo(byte[] b,
                   int offset)
Specified by:
copyTo in interface ByteArray

copyTo

public void copyTo(int start,
                   byte[] newBuf,
                   int offset,
                   int len)
Specified by:
copyTo in interface ByteArray

append

public void append(byte b)
Specified by:
append in interface ByteArray

append

public void append(byte[] b)
Specified by:
append in interface ByteArray

append

public void append(byte[] b,
                   int offset,
                   int length)
Specified by:
append in interface ByteArray

size

public int size()
Specified by:
size in interface ByteArray

release

public void release()


Copyright (C) Wolfgang Meier. All rights reserved.