Java tutorial
import java.util.HashMap; public class Main { public static void main(String[] args) { HashMap<String, int[]> h = new HashMap<String, int[]>(); h.put("PID", new int[] { 1, 2 }); System.out.println(h.get("PID")[0]); System.out.println(h.get("PID")[1]); } }