@Override
    public void close() {
        for(Trainable t : bundle.values()) {
            if(t != null) {
                try {
                    t.close();
                }
                catch (Exception ex) {
                    throw new RuntimeException(ex);
                }
            }
        }
        bundle.clear();
    }
@ Override public void close ( ) { for ( Trainable t : bundle . values ( ) ) { if ( t != null ) { try { t . close ( ) ; } catch ( Exception ex ) { throw new RuntimeException ( ex ) ; } } } bundle . clear ( ) ; }
{@inheritDoc}