Class NullMemoryIO


public final class NullMemoryIO extends InAccessibleMemoryIO
  • Field Details

  • Constructor Details

    • NullMemoryIO

      public NullMemoryIO(Runtime runtime)
  • Method Details

    • error

      protected final NullPointerException error()
      Overrides:
      error in class InAccessibleMemoryIO
    • size

      public long size()
      Description copied from class: Pointer
      Gets the size of this memory object in bytes (optional operation).
      Specified by:
      size in class Pointer
      Returns:
      the size of the memory area this Pointer points to. If the size is unknown, Long.MAX_VALUE is returned}.