private void addType ( Class < ? > type , Object object ) { if ( ! items . containsKey ( type ) ) { items . put ( type , new HashSet <> ( ) ) ; } items . get ( type ) . add ( object ) ; }
Add a type from its interface .