|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjoeq.Allocator.HeapAllocator.HeapPointer
public static class HeapAllocator.HeapPointer
An object of this class represents a pointer to a heap address. It is a wrapped version of HeapAddress, so it can be used like an object.
| Constructor Summary | |
|---|---|
HeapAllocator.HeapPointer(HeapAddress ip)
Create a new heap pointer. |
|
| Method Summary | |
|---|---|
int |
compareTo(HeapAllocator.HeapPointer that)
Compare this heap pointer to another heap pointer. |
int |
compareTo(Object that)
Compares this heap pointer to the given object. |
boolean |
equals(HeapAllocator.HeapPointer that)
Returns true if this heap pointer refers to the same location as the given heap pointer, false otherwise. |
boolean |
equals(Object that)
Compares this heap pointer with the given object. |
HeapAddress |
get()
Extract the address of this heap pointer. |
int |
hashCode()
Returns the hash code of this heap pointer. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeapAllocator.HeapPointer(HeapAddress ip)
ip - heap pointer value| Method Detail |
|---|
public HeapAddress get()
public int compareTo(HeapAllocator.HeapPointer that)
that - heap pointer to compare against
public int compareTo(Object that)
compareTo in interface Comparablethat - object to compare to
public boolean equals(HeapAllocator.HeapPointer that)
that - heap pointer to compare to
public boolean equals(Object that)
equals in class Objectthat - object to compare with
public int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||