/** * @return Iterator for the counter. Ignores the {@code null} key (if present). */ public TObjectDoubleIterator<T> getIterator() { return m_map.iterator(); }
/** * @param _m le table a copier * @return la table copiee */ public static TObjectDoubleHashMap copy(final TObjectDoubleHashMap _m) { final TObjectDoubleHashMap r = new TObjectDoubleHashMap(_m); final TObjectDoubleIterator it = _m.iterator(); for (int i = _m.size(); i-- > 0;) { it.advance(); r.put(it.key(), it.value()); } return r; }