public int getValue(long index) {
		try {
			return map.getInt(index);
		}
		catch(NoValueException e) {
			try {
				index = map.getPreviousPropertyIndex(index);	
				return map.getInt(index);
			}
			catch(NoSuchIndexException ex) {
			}
			catch(NoValueException ex) {
			}
		}		
		return 0;
	}
Returns the int value associated with the given index.
@param index the index at which to get the value.
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/RangeMap.java