@Override
	public DBCachedObjectStoreSubMap<T> subMap(Long fromKey, boolean fromInclusive, Long toKey,
			boolean toInclusive) {
		KeySpan span = KeySpan.sub(fromKey, fromInclusive, toKey, toInclusive, direction);
		return new DBCachedObjectStoreSubMap<>(store, errHandler, lock, direction, span);
	}
This provides the implementation of {@link DBCachedObjectStore#asMap()}

<p>
This implements a map from object id (long) to object. Objects cannot be added directly to this
map, e.g., {@link #put(Long, DBAnnotatedObject)} is not supported. Instead use
{@link DBCachedObjectStore#create(long)}.

@param <T> the type of objects in the store
Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectStoreMap.java