equal
deleted
inserted
replaced
96 }); |
96 }); |
97 return locations.get(name); |
97 return locations.get(name); |
98 } |
98 } |
99 //where |
99 //where |
100 private static final ConcurrentMap<String,Location> locations |
100 private static final ConcurrentMap<String,Location> locations |
101 = new ConcurrentHashMap<String,Location>(); |
101 = new ConcurrentHashMap<>(); |
102 |
102 |
103 public String getName() { return name(); } |
103 public String getName() { return name(); } |
104 |
104 |
105 public boolean isOutputLocation() { |
105 public boolean isOutputLocation() { |
106 switch (this) { |
106 switch (this) { |