Advertisement
deflorator1980

Untitled

Jan 31st, 2017
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1.     public static void main(String[] args) {
  2.         HashMap<String, Object> mapa = new HashMap<>();
  3.         Integer integer;
  4.         Double penetration;
  5.         integer = retInt();
  6.         mapa.put("act", integer);
  7. //        penetration = (double)mapa.get("act");
  8.         penetration = (double) (int) mapa.get("act");
  9.     }
  10.  
  11.     public static Integer retInt() {
  12.         return 10;
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement