/** * Gets the iterator as a String. * * @return a string version of the iterator */ @Override public String toString() { if (last != null) { return "MapIterator[" + getKey() + "=" + getValue() + "]"; } return "MapIterator[]"; }
/** * Gets the iterator as a String. * * @return a string version of the iterator */ @Override public String toString() { if (last != null) { return "MapIterator[" + getKey() + "=" + getValue() + "]"; } return "MapIterator[]"; }