Package ghidra.trace.database
Class DBTraceUtils.LifespanMapSetter<E,V>
java.lang.Object
generic.RangeMapSetter<E,Long,Lifespan,V>
ghidra.trace.database.DBTraceUtils.LifespanMapSetter<E,V>
- Type Parameters:
E- the type of entryV- the type of value
- Enclosing class:
DBTraceUtils
public abstract static class DBTraceUtils.LifespanMapSetter<E,V>
extends RangeMapSetter<E,Long,Lifespan,V>
A setter which operates on spans of snapshot keys
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intCompare two values as inComparator.compare(Object, Object)protected LongGet the lower bound of the rangeprotected LongGet the number immediately following the given boundprotected LonggetPrevious(Long d) Get the number immediately preceding the given boundprotected LongGet the upper bound of the rangeprotected LifespanCreate 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
-
LifespanMapSetter
public LifespanMapSetter()
-
-
Method Details
-
compare
Description copied from class:RangeMapSetterCompare two values as inComparator.compare(Object, Object) -
getLower
Description copied from class:RangeMapSetterGet the lower bound of the range -
getUpper
Description copied from class:RangeMapSetterGet the upper bound of the range -
toSpan
Description copied from class:RangeMapSetterCreate a closed range with the given bounds -
getPrevious
Description copied from class:RangeMapSetterGet the number immediately preceding the given bound- Specified by:
getPreviousin classRangeMapSetter<E,Long, Lifespan, 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
-