/** * Replace the value of the mapping at the iterator's position with the * specified value. Note that you must <tt>advance()</tt> the iterator at * least once before invoking this method. * * @param val the value to set in the current entry * @return the old value of the entry. */ public Object setValue(Object val) { Object old = value(); _map._values[_index] = val; return old; } }// TLongObjectIterator
iter.advance(); long key = iter.key(); Object val = iter.value(); // A MemConglomerate object sb.append("temp conglomerate id = ").append(key).append(": ").append( val);
iter.advance(); long key = iter.key(); Object val = iter.value(); // A MemConglomerate object sb.append("temp conglomerate id = ").append(key).append(": ").append( val);