Posted By:
Jennifer_Pinkham
Posted On:
Thursday, March 21, 2002 01:32 PM
I am a Perl programmer by nature and I need to know how to compare values in what would be in Perl two hashes of hashes. In Java, I have two HashMaps, one for the "current" data value and one for the "LastKnownGood" data value. The first hashmap is keyed on server name. This hashmap contains a hashmap (for each server) of various data keys and values. I need to know how, when iterating through my "current" value map, to compare that value to the same data key of the same server in the "LastKnownGood" map. This was a breeze in Perl, but I am totally stumped in how to do this in Java. Any help would be much appreciated.
More>>
I am a Perl programmer by nature and I need to know how to compare values in
what would be in Perl two hashes of hashes. In Java, I have two HashMaps,
one for the "current" data value and
one for the "LastKnownGood" data value.
The first hashmap is keyed on server name. This hashmap contains a hashmap (for each server) of various data keys and values. I need to know how, when iterating through my "current" value map, to compare that value to the same data key of the same server in the "LastKnownGood" map.
This was a breeze in Perl, but I am totally stumped in how to do this in Java. Any help would be much appreciated.
<<Less