Packages

class CombinedReadWriteMemory extends ReadWriteMemory

A read-write memory that can hold up to 260 Bytes (1 EiB). Please note that the size is immediately allocated.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CombinedReadWriteMemory
  2. ReadWriteMemory
  3. Memory
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def doRead(address: Long): Try[Byte]

    The read method to read the value from the array of arrays.

    The read method to read the value from the array of arrays.

    address

    the address to read

    returns

    a Success with the byte read at the given address or a Failure

    Attributes
    protected
    Definition Classes
    CombinedReadWriteMemoryReadWriteMemory
  7. def doWrite(address: Long, value: Byte): Try[Unit]

    The write method to write the value to the array.

    The write method to write the value to the array.

    address

    the address to write

    value

    the value to write

    returns

    a Success if the write was successful, Failure otherwise

    Attributes
    protected
    Definition Classes
    CombinedReadWriteMemoryReadWriteMemory
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def readByte(address: Long): Try[Byte]

    Read a single Byte from the memory at the given address.

    Read a single Byte from the memory at the given address.

    address

    the address to read from

    returns

    a Success with the byte read or a Failure

    Definition Classes
    ReadWriteMemoryMemory
  18. final def readInt(address: Long): Try[Int]

    Read an Int from the memory at address ... address + 3.

    Read an Int from the memory at address ... address + 3. The value of address will be the least significant Byte.

    address

    the address to read from

    returns

    a Success with the Int read or a Failure

    Definition Classes
    Memory
  19. final def readLong(address: Long): Try[Long]

    Read a Long from the memory at address ... address + 7.

    Read a Long from the memory at address ... address + 7. The value of address will be the least significant Byte.

    address

    the address to read from

    returns

    a Success with the Long read or a Failure

    Definition Classes
    Memory
  20. final def readShort(address: Long): Try[Short]

    Read a Short from the memory at address ... address + 1.

    Read a Short from the memory at address ... address + 1. The value of address will be the least significant Byte.

    address

    the address to read from

    returns

    a Success with the Short read or a Failure

    Definition Classes
    Memory
  21. val size: Long

    Returns the size of the memory.

    Returns the size of the memory.

    returns

    the size of the memory

    Definition Classes
    CombinedReadWriteMemoryMemory
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def writeByte(address: Long, value: Byte): Try[Unit]

    Write a single Byte to the memory at the given address.

    Write a single Byte to the memory at the given address.

    address

    the address to write to

    value

    the value to write

    returns

    a Success when the byte is written or a Failure

    Definition Classes
    ReadWriteMemoryMemory
  28. final def writeInt(address: Long, value: Int): Try[Unit]

    Write an Int at address ... address + 3.

    Write an Int at address ... address + 3. The least significant Byte will be written to address.

    address

    the address to write to

    value

    the value to write

    returns

    a Success when the int was written successfully or a Failure otherwise

    Definition Classes
    Memory
  29. final def writeLong(address: Long, value: Long): Try[Unit]

    Write a Long at address ... address + 7.

    Write a Long at address ... address + 7. The least significant Byte will be written to address.

    address

    the address to write to

    value

    the value to write

    returns

    a Success when the long was written successfully or a Failure otherwise

    Definition Classes
    Memory
  30. final def writeShort(address: Long, value: Short): Try[Unit]

    Write a Short to address ... address + 1.

    Write a Short to address ... address + 1. The least significant Byte will be written to address.

    address

    the address to write to

    value

    the value to write

    returns

    a Success when the short was written successfully or a Failure otherwise

    Definition Classes
    Memory

Inherited from ReadWriteMemory

Inherited from Memory

Inherited from AnyRef

Inherited from Any

Ungrouped