public abstract class AbstractLongByteBuffer extends Object implements LongByteBuffer
Abstract base implementation of a LongByteBuffer
| Modifier and Type | Field and Description |
|---|---|
protected long |
mReaderIndex |
protected long |
mWriterIndex |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLongByteBuffer(long theLength) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
_dispose() |
protected abstract byte |
_getByte(long theIndex) |
protected abstract double |
_getDouble(long theIndex) |
protected abstract float |
_getFloat(long theIndex) |
protected abstract int |
_getInt(long theIndex) |
protected abstract long |
_getLong(long theIndex) |
protected abstract short |
_getShort(long theIndex) |
protected abstract void |
_setByte(long theIndex,
byte theValue) |
protected abstract void |
_setDouble(long theIndex,
double theValue) |
protected abstract void |
_setFloat(long theIndex,
float theValue) |
protected abstract void |
_setInt(long theIndex,
int theValue) |
protected abstract void |
_setLong(long theIndex,
long theValue) |
protected abstract void |
_setShort(long theIndex,
short theValue) |
protected void |
assertCanRead(long theLength) |
protected void |
assertCanWrite(long theLength) |
protected void |
assertIndexes(long theIndex,
long theLength,
long theSourceIndex,
long theSourceCapacity) |
protected void |
assertValidIndex(long theIndex,
long theLength) |
long |
capacity() |
LongByteBuffer |
clear() |
LongByteBuffer |
copy() |
void |
dispose()
Dispose the resources held by this object.
|
protected void |
ensureAccessible() |
byte |
getByte(long theIndex) |
void |
getBytes(long theIndex,
byte[] theBytes) |
char |
getChar(long theIndex) |
double |
getDouble(long theIndex) |
float |
getFloat(long theIndex) |
int |
getInt(long theIndex) |
long |
getLong(long theIndex) |
short |
getShort(long theIndex) |
long |
readableBytes() |
byte |
readByte() |
void |
readBytes(byte[] theBytes) |
void |
readBytes(byte[] theBytes,
int theOffset,
int theLength) |
void |
readBytes(LongByteBuffer theBytes,
int theLength) |
char |
readChar() |
double |
readDouble() |
long |
readerIndex() |
LongByteBuffer |
readerIndex(long theIndex) |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
LongByteBuffer |
setByte(long theIndex,
byte theValue) |
LongByteBuffer |
setBytes(long theIndex,
byte[] theBytes) |
LongByteBuffer |
setBytes(long theIndex,
LongByteBuffer theBytes) |
LongByteBuffer |
setChar(long theIndex,
char theValue) |
LongByteBuffer |
setDouble(long theIndex,
double theValue) |
LongByteBuffer |
setFloat(long theIndex,
float theValue) |
LongByteBuffer |
setInt(long theIndex,
int theValue) |
LongByteBuffer |
setLong(long theIndex,
long theValue) |
LongByteBuffer |
setShort(long theIndex,
short theValue) |
LongByteBuffer |
setZero(long theIndex,
long theLength) |
long |
writableBytes() |
LongByteBuffer |
writeByte(byte theValue) |
LongByteBuffer |
writeBytes(byte[] theBytes) |
LongByteBuffer |
writeBytes(byte[] theBytes,
int theOffset,
int theLength) |
LongByteBuffer |
writeBytes(LongByteBuffer theBytes) |
LongByteBuffer |
writeBytes(LongByteBuffer theBytes,
long theLength) |
LongByteBuffer |
writeChar(char theChar) |
LongByteBuffer |
writeDouble(double theValue) |
LongByteBuffer |
writeFloat(float theValue) |
LongByteBuffer |
writeInt(int theValue) |
LongByteBuffer |
writeLong(long theValue) |
long |
writerIndex() |
LongByteBuffer |
writerIndex(long theIndex) |
LongByteBuffer |
writeShort(short theValue) |
protected abstract void _dispose()
protected abstract long _getLong(long theIndex)
protected abstract int _getInt(long theIndex)
protected abstract short _getShort(long theIndex)
protected abstract byte _getByte(long theIndex)
protected abstract double _getDouble(long theIndex)
protected abstract float _getFloat(long theIndex)
protected abstract void _setLong(long theIndex,
long theValue)
protected abstract void _setInt(long theIndex,
int theValue)
protected abstract void _setShort(long theIndex,
short theValue)
protected abstract void _setByte(long theIndex,
byte theValue)
protected abstract void _setDouble(long theIndex,
double theValue)
protected abstract void _setFloat(long theIndex,
float theValue)
public final void dispose()
Closeable.close() or some other
method wil lbe more appropriate.dispose in interface Disposablepublic final long readableBytes()
readableBytes in interface LongByteBufferpublic final long writableBytes()
writableBytes in interface LongByteBufferpublic long capacity()
capacity in interface LongByteBufferpublic final long readerIndex()
readerIndex in interface LongByteBufferpublic final LongByteBuffer readerIndex(long theIndex)
readerIndex in interface LongByteBufferpublic final long writerIndex()
writerIndex in interface LongByteBufferpublic final LongByteBuffer writerIndex(long theIndex)
writerIndex in interface LongByteBufferpublic final LongByteBuffer copy()
copy in interface LongByteBufferpublic final LongByteBuffer clear()
clear in interface LongByteBufferpublic final char readChar()
readChar in interface LongByteBufferpublic final float readFloat()
readFloat in interface LongByteBufferpublic final double readDouble()
readDouble in interface LongByteBufferpublic final float getFloat(long theIndex)
getFloat in interface LongByteBufferpublic final double getDouble(long theIndex)
getDouble in interface LongByteBufferpublic final char getChar(long theIndex)
getChar in interface LongByteBufferpublic final long readLong()
readLong in interface LongByteBufferpublic final int readInt()
readInt in interface LongByteBufferpublic final short readShort()
readShort in interface LongByteBufferpublic final byte readByte()
readByte in interface LongByteBufferpublic final byte getByte(long theIndex)
getByte in interface LongByteBufferpublic final int getInt(long theIndex)
getInt in interface LongByteBufferpublic final long getLong(long theIndex)
getLong in interface LongByteBufferpublic final short getShort(long theIndex)
getShort in interface LongByteBufferpublic final void getBytes(long theIndex,
byte[] theBytes)
getBytes in interface LongByteBufferpublic final void readBytes(byte[] theBytes,
int theOffset,
int theLength)
readBytes in interface LongByteBufferpublic final void readBytes(byte[] theBytes)
readBytes in interface LongByteBufferpublic final void readBytes(LongByteBuffer theBytes, int theLength)
readBytes in interface LongByteBufferpublic final LongByteBuffer setLong(long theIndex, long theValue)
setLong in interface LongByteBufferpublic final LongByteBuffer setInt(long theIndex, int theValue)
setInt in interface LongByteBufferpublic final LongByteBuffer setShort(long theIndex, short theValue)
setShort in interface LongByteBufferpublic final LongByteBuffer setByte(long theIndex, byte theValue)
setByte in interface LongByteBufferpublic final LongByteBuffer writeLong(long theValue)
writeLong in interface LongByteBufferpublic final LongByteBuffer writeInt(int theValue)
writeInt in interface LongByteBufferpublic final LongByteBuffer writeShort(short theValue)
writeShort in interface LongByteBufferpublic final LongByteBuffer writeByte(byte theValue)
writeByte in interface LongByteBufferpublic final LongByteBuffer writeBytes(LongByteBuffer theBytes)
writeBytes in interface LongByteBufferpublic final LongByteBuffer writeBytes(LongByteBuffer theBytes, long theLength)
writeBytes in interface LongByteBufferpublic final LongByteBuffer setDouble(long theIndex, double theValue)
setDouble in interface LongByteBufferpublic final LongByteBuffer setFloat(long theIndex, float theValue)
setFloat in interface LongByteBufferpublic final LongByteBuffer setChar(long theIndex, char theValue)
setChar in interface LongByteBufferpublic final LongByteBuffer writeDouble(double theValue)
writeDouble in interface LongByteBufferpublic final LongByteBuffer writeFloat(float theValue)
writeFloat in interface LongByteBufferpublic final LongByteBuffer writeChar(char theChar)
writeChar in interface LongByteBufferpublic final LongByteBuffer writeBytes(byte[] theBytes)
writeBytes in interface LongByteBufferpublic final LongByteBuffer writeBytes(byte[] theBytes, int theOffset, int theLength)
writeBytes in interface LongByteBufferpublic final LongByteBuffer setBytes(long theIndex, byte[] theBytes)
setBytes in interface LongByteBufferpublic final LongByteBuffer setBytes(long theIndex, LongByteBuffer theBytes)
setBytes in interface LongByteBufferpublic LongByteBuffer setZero(long theIndex, long theLength)
setZero in interface LongByteBufferprotected final void ensureAccessible()
protected final void assertCanRead(long theLength)
protected void assertCanWrite(long theLength)
protected void assertValidIndex(long theIndex,
long theLength)
protected final void assertIndexes(long theIndex,
long theLength,
long theSourceIndex,
long theSourceCapacity)
Copyright © 2010-2016 Stardog Union. All Rights Reserved.