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