import java.util.EnumMap;
public class SizeMap {
public static void main(String[] args) {
EnumMap sizeMap = new EnumMap(Size.class);
sizeMap.put(Size.S, "S");
sizeMap.put(Size.M, "M");
sizeMap.put(Size.L, "L");
sizeMap.put(Size.XL, "XL");
sizeMap.put(Size.XXL, "XXL");
sizeMap.put(Size.XXXL, "XXXL");
for (Size size : Size.values()) {
System.out.println(size + ":" + sizeMap.get(size));
}
}
}
enum Size {
S, M, L, XL, XXL, XXXL;
}