Package ghidra.program.model.util
Class DefaultIntPropertyMap
java.lang.Object
ghidra.program.model.util.DefaultPropertyMap<Integer>
ghidra.program.model.util.DefaultIntPropertyMap
- All Implemented Interfaces:
IntPropertyMap
,PropertyMap<Integer>
Property manager that deals with properties that are of
int type.
-
Field Summary
Fields inherited from class ghidra.program.model.util.DefaultPropertyMap
addrMap, description, propertyMgr
-
Constructor Summary
-
Method Summary
Methods inherited from class ghidra.program.model.util.DefaultPropertyMap
getDescription, getFirstPropertyAddress, getLastPropertyAddress, getName, getNextPropertyAddress, getPreviousPropertyAddress, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getSize, hasProperty, intersects, intersects, moveRange, remove, removeRange, restoreProperties, saveProperties, setDescription
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ghidra.program.model.util.IntPropertyMap
add, getValueClass
Methods inherited from interface ghidra.program.model.util.PropertyMap
getFirstPropertyAddress, getLastPropertyAddress, getName, getNextPropertyAddress, getPreviousPropertyAddress, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getSize, hasProperty, intersects, intersects, moveRange, remove, removeRange
-
Constructor Details
-
DefaultIntPropertyMap
Construct a new IntPropertyMap- Parameters:
name
- name of property
-
-
Method Details
-
add
Description copied from interface:IntPropertyMap
Add an int value at the specified address.- Specified by:
add
in interfaceIntPropertyMap
- Parameters:
addr
- address for the propertyvalue
- value of the property
-
getInt
Description copied from interface:IntPropertyMap
Get the integer value at the given address.- Specified by:
getInt
in interfaceIntPropertyMap
- Parameters:
addr
- the address from where to get the int value- Returns:
- integer property value
- Throws:
NoValueException
- if there is no property value at addr.
-
get
Description copied from interface:PropertyMap
Returns the property value stored at the specified address or null if no property found.- Specified by:
get
in interfacePropertyMap<Integer>
- Parameters:
addr
- property address- Returns:
- property value
-