@@ -0,0 +1,883 @@
+package org.intermine.web.util;%0A%0A/*%0A * Copyright (C) 2002-2011 FlyMine%0A *%0A * This code may be freely distributed and modified under the%0A * terms of the GNU Lesser General Public Licence.  This should%0A * be distributed with the code.  See the LICENSE file for more%0A * information or http://www.gnu.org/copyleft/lesser.html.%0A *%0A */%0A%0Aimport java.util.AbstractMap;%0Aimport java.util.HashSet;%0Aimport java.util.Set;%0A%0A/**%0A * An implementation of Map that is totally forgetful. Asking this map to remember anything is like%0A * just piping it to %3Ccode%3Edev/null%3C/code%3E.%0A * @author Alex Kalderimis%0A *%0A * @param %3CK%3E The key type%0A * @param %3CV%3E The value type%0A */%0Aclass DevNullMap%3CK, V%3E extends AbstractMap%3CK, V%3E%0A%7B%0A%0A    @Override%0A    public Set%3CEntry%3CK, V%3E%3E entrySet() %7B%0A        return new HashSet%3CEntry%3CK, V%3E%3E();%0A    %7D%0A%0A    @Override%0A    public V put(K key, V value) %7B%0A        return null;%0A    %7D%0A%7D%0A

A map that does not store anything.