posted 18 years ago
its not assignment i want to find out min and max for this Col1 ,Col2 individually hashmap result {{Col1=41, Col2=45},{Col1=56, Col2=12},{Col1=10, Col2=11}}
Using Collections.min(collection)
Collections.max(collection)
Minimum of Col1=10
Maximum of Col1=56
and same time Minimum of Col2=11
Maximum of Col2=45