import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
<BUG>import java.util.Map;
public class ContactsDatabase</BUG>
{
private final Map<Long, Contact> map = Collections.synchronizedMap(new HashMap<Long, Contact>());
private final List<Contact> fnameIdx = Collections.synchronizedList(new ArrayList<Contact>());

import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.wicket.extensions.markup.html.repeater.data.sort.SortOrder;
import org.apache.wicket.extensions.markup.html.repeater.util.SortParam;
public class ContactsDatabase
{
private final Map<Long, Contact> map = Collections.synchronizedMap(new HashMap<Long, Contact>());
private final List<Contact> fnameIdx = Collections.synchronizedList(new ArrayList<Contact>());
