public void set(final T paramOrigin, final T paramDestination, final boolean paramBool) {
        assert paramOrigin != null;
        assert paramDestination != null;
        if (!mMap.containsKey(paramOrigin)) {
            mMap.put(paramOrigin, new IdentityHashMap<T, Boolean>());
        }

        mMap.get(paramOrigin).put(paramDestination, paramBool);
    }
public void set ( final T paramOrigin , final T paramDestination , final boolean paramBool ) { assert paramOrigin != null ; assert paramDestination != null ; if ( ! mMap . containsKey ( paramOrigin ) ) { mMap . put ( paramOrigin , new IdentityHashMap < T , Boolean > ( ) ) ; } mMap . get ( paramOrigin ) . put ( paramDestination , paramBool ) ; }
Sets the connection between a and b.

@param paramOrigin
origin object
@param paramDestination
destination object
@param paramBool
if connection is established or not