Advertisement
Guest User

Hash Map

a guest
May 29th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. public class HashMap {
  2.  
  3. Map threshold = new HashMap();
  4.  
  5. // Using threshold 200. First argument is diopter.
  6. threshold.put("-6", .5136);
  7. threshold.put("-5.5", .5173);
  8. threshold.put("-5", .4832);
  9. threshold.put("-4.5", .4695);
  10. threshold.put("-4", .4326);
  11. threshold.put("-3.5", .3779);
  12. threshold.put("-3", .2927);
  13. threshold.put("-2.5", .1790);
  14. threshold.put("-2", .0634);
  15. threshold.put("-1.5", .0000);
  16. threshold.put("-1", .0000);
  17. threshold.put("-0.5", .0003);
  18. threshold.put("0", 0);
  19. threshold.put("0.5", .0000);
  20. threshold.put("1", .0001);
  21. threshold.put("1.5", .0052);
  22. threshold.put("2", .1273);
  23. threshold.put("2.5", .2521);
  24. threshold.put("3", .3473);
  25. threshold.put("3.5", .4094);
  26. threshold.put("4", .4560);
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement