protected int indexOfStoredObjects(Object o) {
        Integer index = storedObjects.get(o);
        if (debug) debug(
        	"indexOfStoredObjects(o=", o, ") -> ",
        	String.valueOf((index != null ? index.intValue() : -1))
        );
        return (index != null ? index.intValue() : -1);
    }