public class MemoryMapConfigMemoryItem extends Object implements Serializable, Comparable<MemoryMapConfigMemoryItem>
| Constructor and Description |
|---|
MemoryMapConfigMemoryItem() |
MemoryMapConfigMemoryItem(String name,
String origin) |
MemoryMapConfigMemoryItem(String name,
String origin,
String length) |
MemoryMapConfigMemoryItem(String name,
String origin,
String length,
String used,
String unused) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allBelongSameParent(MemoryMapConfigMemoryItem... items) |
int |
compareTo(MemoryMapConfigMemoryItem t) |
boolean |
equals(Object obj) |
String |
getEndAddress() |
String |
getLength() |
String |
getName() |
String |
getOrigin() |
MemoryMapConfigMemoryItem |
getParent() |
String |
getTopLevelMemoryMax() |
String |
getUnused() |
String |
getUsed() |
int |
hashCode() |
void |
setCalculatedLength(String startHex,
String endHex)
Calculates the "length" of a segment if the map file does not explicitly
tell it to do so.
|
void |
setEndAddress(String endAddress) |
void |
setLength(String length) |
void |
setName(String name) |
void |
setOrigin(String origin) |
void |
setParent(MemoryMapConfigMemoryItem parent) |
void |
setUnused(String unused) |
void |
setUsed(String used) |
String |
toString() |
public MemoryMapConfigMemoryItem()
public MemoryMapConfigMemoryItem(String name, String origin, String length)
public String getName()
public void setName(String name)
name - the name to setpublic String getOrigin()
public void setOrigin(String origin)
origin - the origin to setpublic String getLength()
public void setLength(String length)
length - the length to setpublic String getEndAddress()
public void setEndAddress(String endAddress)
endAddress - of the segmentpublic void setCalculatedLength(String startHex, String endHex)
startHex - Hex address startendHex - Hex address endpublic String getUsed()
public void setUsed(String used)
used - the used to setpublic String getUnused()
public void setUnused(String unused)
unused - the unused to setpublic String getTopLevelMemoryMax()
public static boolean allBelongSameParent(MemoryMapConfigMemoryItem... items)
public int compareTo(MemoryMapConfigMemoryItem t)
compareTo in interface Comparable<MemoryMapConfigMemoryItem>public MemoryMapConfigMemoryItem getParent()
public void setParent(MemoryMapConfigMemoryItem parent)
parent - the parent to setCopyright © 2016–2018. All rights reserved.