@Override
	public Comparator<? super Long> comparator() {
		if (direction == Direction.FORWARD) {
			return comparator;
		}
		return reverseComparator;
	}
This provides the implementation of {@link Map#keySet()} for {@link DBCachedObjectStore#asMap()}
Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectStoreKeySet.java