org.ujmp.core.util.io
Class AbstractMemoryByteBufferConcatenation
- java.lang.Object
-
- org.ujmp.core.util.io.AbstractByteBufferConcatenation
-
- org.ujmp.core.util.io.AbstractMemoryByteBufferConcatenation
-
- All Implemented Interfaces:
- ByteBufferConcatenation
- Direct Known Subclasses:
- MemoryByteBufferConcatenation
public abstract class AbstractMemoryByteBufferConcatenation extends AbstractByteBufferConcatenation
-
-
Field Summary
-
Fields inherited from class org.ujmp.core.util.io.AbstractByteBufferConcatenation
DEFAULTBUFFERSIZE
-
-
Constructor Summary
Constructors Constructor and Description AbstractMemoryByteBufferConcatenation(java.nio.ByteBuffer... byteBuffers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddeleteBytes(long position, int count)bytegetByte(long position)voidgetBytes(byte[] bytes, long position, int length)longgetLength()voidsetByte(byte b, long position)voidsetBytes(byte[] bytes, long position, int length)java.lang.StringtoString()-
Methods inherited from class org.ujmp.core.util.io.AbstractByteBufferConcatenation
appendBytes, deleteByte, getBytes, setBytes
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ujmp.core.util.io.ByteBufferConcatenation
expand, insertBytes, shrink
-
-
-
-
Constructor Detail
-
AbstractMemoryByteBufferConcatenation
public AbstractMemoryByteBufferConcatenation(java.nio.ByteBuffer... byteBuffers)
-
-
Method Detail
-
getLength
public final long getLength()
-
deleteBytes
public final void deleteBytes(long position, int count)
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getByte
public final byte getByte(long position)
-
setByte
public final void setByte(byte b, long position)
-
getBytes
public final void getBytes(byte[] bytes, long position, int length)
-
setBytes
public final void setBytes(byte[] bytes, long position, int length)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG