public DBCachedObjectIndex<K, T> sub(K from, boolean fromInclusive, K to, boolean toInclusive) {
		FieldSpan span = FieldSpan.sub(codec.encodeField(from), fromInclusive,
			codec.encodeField(to), toInclusive, direction);
		return new DBCachedObjectIndex<>(store, errHandler, codec, columnIndex,
			fieldSpan.intersect(span), direction);
	}
Get a sub-ranged view of this index

@param from the lower bound
@param fromInclusive whether the lower bound is included in the restricted view
@param to the upper bound
@param toInclusive whether the upper bound is included in the restricted view
@see #descending()
@return the restricted view
Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectIndex.java