@@ -0,0 +1,1789 @@
+import java.util.*;%0A%0A%0A%0Apublic class ArrayListHolder%7B%0A        private ArrayList%3CInteger%3E a;%0A        public ArrayListHolder(ArrayList%3CInteger%3E a)%7B%0A            this.a = a;%0A        %7D%0A        public ArrayList%3CInteger%3E toArrayList()%7B%0A            if(a.size() %3E 0)%7B%0A                return this.a;%0A            %7D%0A            else return null;%0A        %7D%0A        @Override%0A        public int hashCode()%7B%0A%0A            int ret = 0;%0A            int shift = 0;%0A            for(int i : a)%7B%0A                shift = (shift + 11) %25 21;%0A                ret %5E= (i + 1024) %3C%3C shift;%0A            %7D%0A            return ret;%0A        %7D%0A        @Override%0A        public boolean equals(Object o)%7B%0A            if(o == null)%7B%0A                return false;%0A            %7D%0A            else if(o instanceof ArrayListHolder)%7B%0A                ArrayListHolder b = (ArrayListHolder) o;%0A                ArrayList%3CInteger%3E c = this.toArrayList();%0A                ArrayList%3CInteger%3E d = b.toArrayList();%0A                return BeltwayV17.equalsArrayList(c,d);%0A                %0A            %7D%0A        %0A            return false;%0A        %7D%0A    %0A    public String toString()%7B%0A        return this.a.toString();%0A    %7D%0A    %0A    public static void main(String%5B%5D args)%7B%0A        ArrayList%3CInteger%3E a = new ArrayList%3C%3E();%0A        ArrayList%3CInteger%3E b = new ArrayList%3C%3E();%0A        a.add(1);%0A        b.add(1);%0A        a.add(2);%0A        b.add(2);%0A        ArrayListHolder alh = new ArrayListHolder(a);%0A        ArrayListHolder alh2 = new ArrayListHolder(b);%0A%0A        HashMap%3CArrayListHolder,Boolean%3E hm = new HashMap%3C%3E();%0A        hm.put(alh,true);%0A        System.out.println(%22Is a in hashmap?: %22);%0A        System.out.println(hm.get(alh));%0A        System.out.println(%22Is b in hashmap?: %22);%0A        System.out.println(hm.get(alh2));%0A        %0A    %7D%0A%0A%7D%0A

Create ArrayListHolder.java