Class AbstractWeakMappedByteBufferConcatenation

java.lang.Object
org.ujmp.core.util.io.AbstractByteBufferConcatenation
org.ujmp.core.util.io.AbstractWeakMappedByteBufferConcatenation
All Implemented Interfaces:
ByteBufferConcatenation
Direct Known Subclasses:
WeakMappedByteBufferConcatenation

public abstract class AbstractWeakMappedByteBufferConcatenation extends AbstractByteBufferConcatenation
  • Field Details

    • byteBuffers

      protected WeakMappedByteBuffer[] byteBuffers
    • totalLength

      protected final long totalLength
  • Constructor Details

    • AbstractWeakMappedByteBufferConcatenation

      public AbstractWeakMappedByteBufferConcatenation(WeakMappedByteBuffer... byteBuffers)
  • Method Details

    • getLength

      public final long getLength()
    • deleteBytes

      public final void deleteBytes(long position, int count)
    • toString

      public final String toString()
      Overrides:
      toString in class 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)