I'm Facing Issues at the Run time to compile this piece of code Which is throwing me an error that java.lang.Integer cannot be cast to Java.lang.Double. I'll more than happy if anyone help me out to correct this code
double x;
public Double getMethod() {
HashMap hashmap= new HashMap();
hashmap = SumCal();
List listabc = (List) hashmap.get("abclist");
int total=(Integer) hashmap.get("all_total");
x = (Double) listabc.get(0)*100/total;
return x;
}