public static void disposeOf(final ObjectMap<?, ? extends Disposable> disposables) {
        if (disposables != null) {
            for (final Disposable disposable : disposables.values()) {
                disposeOf(disposable);
            }
        }
    }
public static void disposeOf ( final ObjectMap < ? , ? extends Disposable > disposables ) { if ( disposables != null ) { for ( final Disposable disposable : disposables . values ( ) ) { disposeOf ( disposable ) ; } } }
Performs null checks and disposes of assets.

@param disposables its values will be disposed of (if they exist). Can be null.