|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.geeboss.model.midi.memory.MemoryMap.MemoryArea
public static class MemoryMap.MemoryArea
A memory area specified by a base address and a size
Constructor Summary | |
---|---|
MemoryMap.MemoryArea(long baseAddress,
long size)
Construct a new MemoryArea instance |
Method Summary | |
---|---|
int |
compareTo(MemoryMap.MemoryArea o)
|
boolean |
contains(long address)
Returns true if the provided address is within this address area |
boolean |
equals(java.lang.Object other)
Returns true if provided area overlaps this area |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryMap.MemoryArea(long baseAddress, long size)
baseAddress
- the base addresssize
- the sizeMethod Detail |
---|
public boolean contains(long address)
address
- the address to check
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the area to check
public int compareTo(MemoryMap.MemoryArea o)
compareTo
in interface java.lang.Comparable<MemoryMap.MemoryArea>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |