public final class MemoryRegion
extends java.lang.Object
MemoryRegion
is designed to track allocated memory.
This must be done to prevent overlapping data and code allocations.Constructor and Description |
---|
MemoryRegion(java.math.BigInteger from,
java.math.BigInteger to) |
public MemoryRegion(java.math.BigInteger from, java.math.BigInteger to)
public java.math.BigInteger getFrom()
public java.math.BigInteger getTo()
public void growTo(java.math.BigInteger value)
public boolean isGreater(java.math.BigInteger address)
public boolean isOverlap(MemoryRegion other)
public java.lang.String toString()
toString
in class java.lang.Object