Package ghidra.trace.database
Class DBTraceUtils.AddressRangeMapSetter<E,V>
java.lang.Object
generic.RangeMapSetter<E,Address,AddressRange,V>
ghidra.trace.database.DBTraceUtils.AddressRangeMapSetter<E,V>
- Type Parameters:
E- the type of entryV- the type of value
- Enclosing class:
DBTraceUtils
public abstract static class DBTraceUtils.AddressRangeMapSetter<E,V>
extends RangeMapSetter<E,Address,AddressRange,V>
A setter which works on ranges of addresses
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intCompare two values as inComparator.compare(Object, Object)protected AddressgetLower(AddressRange range) Get the lower bound of the rangeprotected AddressGet the number immediately following the given boundprotected AddressGet the number immediately preceding the given boundprotected AddressgetUpper(AddressRange range) Get the upper bound of the rangeprotected AddressRangeCreate a closed range with the given boundsMethods inherited from class generic.RangeMapSetter
connects, getIntersecting, getNextOrSame, getPreviousOrSame, getRange, getValue, put, remove, set, set, valuesEqual
-
Constructor Details
-
AddressRangeMapSetter
public AddressRangeMapSetter()
-
-
Method Details
-
compare
Description copied from class:RangeMapSetterCompare two values as inComparator.compare(Object, Object)- Specified by:
comparein classRangeMapSetter<E,Address, AddressRange, V> - Parameters:
d1- the first valued2- the second value- Returns:
- the result
-
getLower
Description copied from class:RangeMapSetterGet the lower bound of the range- Specified by:
getLowerin classRangeMapSetter<E,Address, AddressRange, V> - Parameters:
range- the range- Returns:
- the lower bound
-
getUpper
Description copied from class:RangeMapSetterGet the upper bound of the range- Specified by:
getUpperin classRangeMapSetter<E,Address, AddressRange, V> - Parameters:
range- the range- Returns:
- the upper bound
-
toSpan
Description copied from class:RangeMapSetterCreate a closed range with the given bounds- Specified by:
toSpanin classRangeMapSetter<E,Address, AddressRange, V> - Parameters:
lower- the lower boundupper- the upper bound- Returns:
- the range
-
getPrevious
Description copied from class:RangeMapSetterGet the number immediately preceding the given bound- Specified by:
getPreviousin classRangeMapSetter<E,Address, AddressRange, V> - Parameters:
d- the bound- Returns:
- the previous bound, or null if it doesn't exist
-
getNext
Description copied from class:RangeMapSetterGet the number immediately following the given bound- Specified by:
getNextin classRangeMapSetter<E,Address, AddressRange, V> - Parameters:
d- the bound- Returns:
- the next bound, or null if it doesn't exist
-