@@ -0,0 +1,1401 @@
+// BridgeDb,%0A// An abstraction layer for identifer mapping services, both local and online.%0A// Copyright 2006-2009 BridgeDb developers%0A//%0A// Licensed under the Apache License, Version 2.0 (the %22License%22);%0A// you may not use this file except in compliance with the License.%0A// You may obtain a copy of the License at%0A//%0A// http://www.apache.org/licenses/LICENSE-2.0%0A//%0A// Unless required by applicable law or agreed to in writing, software%0A// distributed under the License is distributed on an %22AS IS%22 BASIS,%0A// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A// See the License for the specific language governing permissions and%0A// limitations under the License.%0A//%0Apackage org.bridgedb;%0A%0Aimport java.util.HashSet;%0Aimport java.util.Map;%0Aimport java.util.Set;%0A%0A/**%0A * Contains default implementation of some IDMapper methods.%0A */%0Apublic abstract class AbstractIDMapper implements IDMapper%0A%7B%0A%0A%09/**%0A%09 * Default implementation of mapID.%0A%09 * This just calls %3Cpre%3EmapID (Set&lt;Xref&gt;, Set&lt;DataSource&gt;)%3C/pre%3E for mapping%0A%09 * multiple id's with a set containing only a single Xref.%0A%09 * %7B@inheritDoc%7D%0A%09 */%0A%09public Set%3CXref%3E mapID (Xref srcRef, Set%3CDataSource%3E tgtDataSources) throws IDMapperException%0A%09%7B%0A%09%09Set%3CXref%3E srcXrefs = new HashSet%3CXref%3E();%0A%09%09srcXrefs.add(srcRef);%0A%09%09Map%3CXref, Set%3CXref%3E%3E mapXrefs = mapID(srcXrefs, tgtDataSources);%0A%09%09return mapXrefs.get(srcRef);%0A%09%7D%0A%7D%0A

Add forgotten file: AbstractIDMapper.java