public ValueRange getValueRange(long index) {
		if (map.getSize() == 1) {
			return new ValueRange(0,Long.MAX_VALUE,0);
		}
		long start = 0;
		if (map.hasProperty(index)) {
			start = index;
		}
		else {
			try {
				start = map.getPreviousPropertyIndex(index);
			}catch(NoSuchIndexException e){}
		}
		long end = Long.MAX_VALUE;
		try {
			end = map.getNextPropertyIndex(start)-1;
		}catch(NoSuchIndexException e){}
		int value = 0;
		try {
			value = map.getInt(start);
		} catch (NoValueException e1) {}
		return new ValueRange(start, end, value);
	}
Returns the value range containing the given index. The value range indicates
the int value and the start and end index for the range.
@param index the index at which to get the associated value range
@return the value range
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/RangeMap.java