Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. public class FacilityMachines {
  2. private static Map<String, Boolean> map = new HashMap<String, Boolean>();
  3.  
  4. public Map getMap(){
  5. return map;
  6. }
  7.  
  8. public class WriteFile {
  9. FacilityMachines fm = new FacilityMachines();
  10. private Map<String, Boolean> m = new HashMap<String, Boolean>();
  11.  
  12. }
  13.  
  14. public void saveFacilityInfo() {
  15. for (Map.Entry<String, Boolean> j: fm.getMap().entrySet()){
  16. String s = j.getKey();
  17. boolean b = j.getValue();
  18. oStream.println(i + ": " + s + " = " + b + ". ");
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement