Class SlowMemory

java.lang.Object
org.iq80.snappy.SlowMemory
All Implemented Interfaces:
Memory

class SlowMemory extends Object implements Memory
  • Constructor Details

    • SlowMemory

      SlowMemory()
  • Method Details

    • fastAccessSupported

      public boolean fastAccessSupported()
      Specified by:
      fastAccessSupported in interface Memory
    • lookupShort

      public int lookupShort(short[] data, int index)
      Specified by:
      lookupShort in interface Memory
    • loadByte

      public int loadByte(byte[] data, int index)
      Specified by:
      loadByte in interface Memory
    • loadInt

      public int loadInt(byte[] data, int index)
      Specified by:
      loadInt in interface Memory
    • copyLong

      public void copyLong(byte[] src, int srcIndex, byte[] dest, int destIndex)
      Specified by:
      copyLong in interface Memory
    • loadLong

      public long loadLong(byte[] data, int index)
      Specified by:
      loadLong in interface Memory
    • copyMemory

      public void copyMemory(byte[] input, int inputIndex, byte[] output, int outputIndex, int length)
      Specified by:
      copyMemory in interface Memory