can't see what's wrong
package pl.codegym.task.task08.task0818;
import java.util.HashMap;
import java.util.*;
/*
Tylko dla bogaczy
*/
public class Solution {
public static HashMap<String, Integer> utworzMap() {
//tutaj wpisz swój kod
HashMap<String, Integer> stIntHashMap = new HashMap<>();
stIntHashMap.put("Al", 5000);
stIntHashMap.put("Al", 5000);
stIntHashMap.put("Al", 5000);
stIntHashMap.put("Al", 5000);
stIntHashMap.put("Al", 5000);
stIntHashMap.put("Mi0", 6);
stIntHashMap.put("Mi0", 6);
stIntHashMap.put("Mi0", 6);
stIntHashMap.put("Mi0", 6);
stIntHashMap.put("Mi0", 6);
return (HashMap<String, Integer>) stIntHashMap;
}
public static void usunPozycjeZmap(HashMap<String, Integer> map) {
//tutaj wpisz swój kod
for(Integer x : map.values())
{
if(x<500)
{
map.remove(x);
}
}
}
public static void main(String[] args) {
}
}