/** Returns a new array containing the remaining values. */ public void toArray (ArrayList<V> array) { while (hasNext) array.add(next()); } }
public V next () { V value = map.valueTable[nextIndex]; currentIndex = nextIndex; findNextIndex(); return value; }
/** Returns a new array containing the remaining values. */ public ArrayList<V> toArray () { ArrayList array = new ArrayList(map.size); while (hasNext) array.add(next()); return array; }
public V next () { V value = map.valueTable[nextIndex]; currentIndex = nextIndex; findNextIndex(); return value; }
/** Returns a new array containing the remaining values. */ public void toArray (ArrayList<V> array) { while (hasNext) array.add(next()); } }
/** Returns an iterator for the values in the map. Remove is supported. Note that the same iterator instance is returned each * time this method is called. Use the {@link Entries} constructor for nested or multithreaded iteration. */ public Values<V> values () { if (values == null) values = new Values(this); else values.reset(); return values; }
/** Returns a new array containing the remaining values. */ public void toArray (ArrayList<V> array) { while (hasNext) array.add(next()); } }
/** Returns a new array containing the remaining values. */ public ArrayList<V> toArray () { ArrayList array = new ArrayList(map.size); while (hasNext) array.add(next()); return array; }
/** Returns an iterator for the values in the map. Remove is supported. Note that the same iterator instance is returned each * time this method is called. Use the {@link Entries} constructor for nested or multithreaded iteration. */ public Values<V> values () { if (values == null) values = new Values(this); else values.reset(); return values; }
/** Returns a new array containing the remaining values. */ public ArrayList<V> toArray () { ArrayList array = new ArrayList(map.size); while (hasNext) array.add(next()); return array; }
public V next () { V value = map.valueTable[nextIndex]; currentIndex = nextIndex; findNextIndex(); return value; }
/** Returns a new array containing the remaining values. */ public void toArray (ArrayList<V> array) { while (hasNext) array.add(next()); } }
/** Returns a new array containing the remaining values. */ public ArrayList<V> toArray () { ArrayList array = new ArrayList(map.size); while (hasNext) array.add(next()); return array; }
/** Returns an iterator for the values in the map. Remove is supported. Note that the same iterator instance is returned each * time this method is called. Use the {@link Entries} constructor for nested or multithreaded iteration. */ public Values<V> values () { if (values == null) values = new Values(this); else values.reset(); return values; }
/** Returns an iterator for the values in the map. Remove is supported. Note that the same iterator instance is returned each * time this method is called. Use the {@link Entries} constructor for nested or multithreaded iteration. */ public Values<V> values () { if (values == null) values = new Values(this); else values.reset(); return values; }
public V next () { V value = map.valueTable[nextIndex]; currentIndex = nextIndex; findNextIndex(); return value; }