java map values has a list and i need to convert code example Example: java map values to list List<Value> list = new ArrayList<Value>(map.values());