Class ByteHeap

java.lang.Object
org.apache.uima.cas.impl.CommonAuxHeap
org.apache.uima.cas.impl.ByteHeap

final class ByteHeap extends CommonAuxHeap
Encapsulate 8 bit storage for the CAS.
  • Field Details

    • heap

      byte[] heap
  • Constructor Details

    • ByteHeap

      ByteHeap()
    • ByteHeap

      ByteHeap(int heapBaseSize, int heapMultLimit)
  • Method Details

    • initMemory

      final void initMemory()
      Specified by:
      initMemory in class CommonAuxHeap
    • initMemory

      final void initMemory(int size)
      Specified by:
      initMemory in class CommonAuxHeap
    • getCapacity

      final int getCapacity()
      Specified by:
      getCapacity in class CommonAuxHeap
    • growHeapIfNeeded

      void growHeapIfNeeded()
      Specified by:
      growHeapIfNeeded in class CommonAuxHeap
    • resetToZeros

      void resetToZeros()
      Specified by:
      resetToZeros in class CommonAuxHeap
    • getHeapValue

      byte getHeapValue(int offset)
    • setHeapValue

      void setHeapValue(byte val, int pos)
    • addByte

      int addByte(byte val)
    • reinit

      protected void reinit(byte[] byteHeap)