P
Pete
Hi,
Just a small query w.r.t a HashMap.
The HashMap has a size() method which returns the number of entries in
the map and than I can use the Iterator to walk through these entries.
If the size () returns >= 1 and when I iterate the map, zero entries
returned, is this a valid error condition ! How should this be
handled ?
Pete
Just a small query w.r.t a HashMap.
The HashMap has a size() method which returns the number of entries in
the map and than I can use the Iterator to walk through these entries.
If the size () returns >= 1 and when I iterate the map, zero entries
returned, is this a valid error condition ! How should this be
handled ?
Pete