i need to see my hashMap keys and values in order to check if it s working properly.but im getting an error for the below lines:
Iterator iterator = myHashMap.keySet().iterator();
Flows flows = new Flows();
while(iterator.hasNext()){
Object key = iterator.next();
Object value = myHashMap.get(key); // <--
//here is the error. suspicious call to java.util.Map.get
//expected type Flows, actual type object
System.out.println(key+" "+value);
}
my keys are type of Flows and my values are FlowsStatics.