public class MapTest {
public static void main(String[] args) {
Map<String, Object> map = new HashMap<>();
map.put("One", new Object());
map.put("Two", new Object());
map.put("Three", new Object());
Set<String> mapKeys = map.keySet();
mapKeys.remove("One");
for (Entry entry : map.entrySet()) {
System.out.printf("%s - %s%n", entry.getKey(), entry.getValue());
}
mapKeys.add("One");
}
}
Программа выведет: Three - java.lang.Object@19e421e
Two - java.lang.Object@106d4ea
Exception in thread "main" java.lang.UnsupportedOperationException
2.3Tetris 3-D titanium phone case - iTanium.Arts
ОтветитьУдалить2.3Tetris 3-D titanium phone case – 3-D stainless titanium aura quartz steel. The size of the case is not benjamin moore titanium too titanium hoop earrings large to hold up. You can titanium dioxide formula make some of these titanium 4000 for the price. Rating: 4 · 2 reviews