org.apache.blur.lucene.fst
Class ByteArray
java.lang.Object
org.apache.blur.lucene.fst.ByteArray
- Direct Known Subclasses:
- ByteArrayPrimitive
public abstract class ByteArray
- extends Object
Method Summary |
abstract void |
copy(int position,
ByteArray dest,
int destOffset,
int len)
|
abstract byte |
get(int position)
|
abstract void |
get(int position,
byte[] b,
int offset,
int len)
|
abstract int |
length()
|
abstract void |
put(int position,
byte b)
|
abstract void |
put(int position,
byte[] b,
int offset,
int len)
|
abstract void |
readBytes(org.apache.lucene.store.DataInput in,
int offset,
int length)
|
abstract void |
writeBytes(org.apache.lucene.store.DataOutput out,
int offset,
int length)
|
ByteArray
public ByteArray()
length
public abstract int length()
put
public abstract void put(int position,
byte b)
get
public abstract byte get(int position)
put
public abstract void put(int position,
byte[] b,
int offset,
int len)
get
public abstract void get(int position,
byte[] b,
int offset,
int len)
readBytes
public abstract void readBytes(org.apache.lucene.store.DataInput in,
int offset,
int length)
throws IOException
- Throws:
IOException
writeBytes
public abstract void writeBytes(org.apache.lucene.store.DataOutput out,
int offset,
int length)
throws IOException
- Throws:
IOException
copy
public abstract void copy(int position,
ByteArray dest,
int destOffset,
int len)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.