public static void monthsTest() {
        String[] months1 = { "January", "February", "March", "April", "May",
                "June", "July", "August", "September", "October", "November",
                "December" };
        String[] months2 = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul",
                "Aug", "Sep", "Oct", "Nov", "Dec" };

        DualMap<String, String> testdm = new DualHashMap<String, String>();

        for (int i = 0; i < months1.length; i++) {
            testdm.put(months1[i], months2[i]);
        }

        // This should print:
        // Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
        for (String s : months1) {
            System.out.print(testdm.get(s) + " ");
        }
        System.out.println();

        // This should print:
        // January February March April May June July August September October
        // November December
        for (String s : months2) {
            System.out.print(testdm.reverseGet(s) + " ");
        }
        System.out.println();

        for (int i = 0; i < months1.length; i += 2) {
            testdm.remove(months1[i], months2[i]);
        }

        // This should print:
        // null Feb null Apr null Jun null Aug null Oct null Dec
        for (String s : months1) {
            System.out.print(testdm.get(s) + " ");
        }
        System.out.println();

        // This should print:
        // null February null April null June null August null October null
        // December
        for (String s : months2) {
            System.out.print(testdm.reverseGet(s) + " ");
        }
        System.out.println();
    }