how to display map in form of list in java code example Example: java transform hashmap to list List<Value> list = new ArrayList<Value>(map.values());