All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.util.AbstractDelegatingMap Maven / Gradle / Ivy

package org.infinispan.util;

import java.util.Collection;
import java.util.Map;
import java.util.Set;

public abstract class AbstractDelegatingMap implements Map {

   protected abstract Map delegate();
   
   @Override
   public int size() {
      return delegate().size();
   }

   @Override
   public boolean isEmpty() {
      return delegate().isEmpty();
   }

   @Override
   public boolean containsKey(Object key) {
      return delegate().containsKey(key);
   }

   @Override
   public boolean containsValue(Object value) {
      return delegate().containsValue(value);
   }

   @Override
   public V get(Object key) {
      return delegate().get(key);
   }

   @Override
   public V put(K key, V value) {
      return delegate().put(key, value);
   }

   @Override
   public V remove(Object key) {
      return delegate().remove(key);
   }

   @Override
   public void putAll(Map m) {
      delegate().putAll(m);
   }

   @Override
   public void clear() {
      delegate().clear();
   }

   @Override
   public Set keySet() {
      return delegate().keySet();
   }

   @Override
   public Collection values() {
      return delegate().values();
   }

   @Override
   public Set> entrySet() {
      return delegate().entrySet();
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy