src/braids/game/util/kindergarten/IDResolverImpl.java
@Override
    public void validateAllKIDs() throws AssertionError {
		for (Object obj : __objectToKIDMap.keySet()) {
			int kid = __objectToKIDMap.get(obj);
			
			assert(__kIDToObjectMap.get(kid) == obj);
			
			if (obj.getClass().isAssignableFrom(KIDAware.class)) {
				KIDAware objKA = (KIDAware) obj;
				
				assert(objKA.getKID() == kid);
			}
		}
		
		for (int kid : __kIDToObjectMap.keySet()) {
			Object obj = __kIDToObjectMap.get(kid);
			
			assert(__objectToKIDMap.get(obj) == kid);
		}
		
		
    }
/**
	 * Validate the object to KID map, the KID to object map, and all KIDs of
	 * all KIDAware objects we track.
	 * 
	 * @throw AssertionError if the validation fails
	 */
Validate the object to KID map, the KID to object map, and all KIDs of
all KIDAware objects we track.

@throw AssertionError if the validation fails
Validate the object to KID map the KID to object map and all KIDs of all KIDAware objects we track . @throw AssertionError if the validation fails
@Override
    public void validateAllKIDs() throws AssertionError {
		for (Object obj : __objectToKIDMap.keySet()) {
			int kid = __objectToKIDMap.get(obj);
			assert(__kIDToObjectMap.get(kid) == obj);
			if (obj.getClass().isAssignableFrom(KIDAware.class)) {
				KIDAware objKA = (KIDAware) obj;
				assert(objKA.getKID() == kid);
			}
		}
		for (int kid : __kIDToObjectMap.keySet()) {
			Object obj = __kIDToObjectMap.get(kid);
			assert(__objectToKIDMap.get(obj) == kid);
		}
    }
@ Override public void validateAllKIDs ( ) throws AssertionError { for ( Object obj : __objectToKIDMap . keySet ( ) ) { int kid = __objectToKIDMap . get ( obj ) ; assert ( __kIDToObjectMap . get ( kid ) == obj ) ; if ( obj . getClass ( ) . isAssignableFrom ( KIDAware . class ) ) { KIDAware objKA = ( KIDAware ) obj ; assert ( objKA . getKID ( ) == kid ) ; } } for ( int kid : __kIDToObjectMap . keySet ( ) ) { Object obj = __kIDToObjectMap . get ( kid ) ; assert ( __objectToKIDMap . get ( obj ) == kid ) ; } }
Validate the object to KID map, the KID to object map, and all KIDs of
 all KIDAware objects we track.
Validate the object to KID map the KID to object map and all KIDs of all KIDAware objects we track .