/******************************************************************************* * Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompanies this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html * and the Eclipse Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Blaise Doughan - 2.4 - initial implementation ******************************************************************************/ package org.eclipse.persistence.testing.jaxb.listofobjects; import java.util.Collection; import java.util.Map; import java.util.Set; public class NullSetsMap implements Map { public int size() { return 0; } public boolean isEmpty() { return true; } public boolean containsKey(Object key) { return false; } public boolean containsValue(Object value) { return false; } public Object get(Object key) { return null; } public Object put(Object key, Object value) { return null; } public Object remove(Object key) { return null; } public void putAll(Map m) { } public void clear() { } public Set keySet() { return null; } public Collection values() { return null; } public Set entrySet() { return null; } }