@Override
	public int characteristics() {
		try (LockHold hold = LockHold.lock(lock)) {
			return spliterator.characteristics();
		}
	}
Wraps an unsynchronized spliterator in one that synchronizes on a given {@link Lock}

@param <T> the type of elements
Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBSynchronizedSpliterator.java