|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cornell.cs.sam.core.HeapAllocator.Allocation
public static class HeapAllocator.Allocation
Represents a heap allocation
Constructor Summary | |
---|---|
HeapAllocator.Allocation(int addr,
int size)
Create a new allocation |
Method Summary | |
---|---|
int |
getAddr()
Gets the start address of this allocation |
int |
getSize()
Gets the size of this allocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeapAllocator.Allocation(int addr, int size)
addr
- The start address of the allocationsize
- The size of the allocationMethod Detail |
---|
public int getAddr()
public int getSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |