woolpack.utils
クラス DelegationMap<K,V>

java.lang.Object
  上位を拡張 woolpack.utils.DelegationMap<K,V>
すべての実装されたインタフェース:
Map<K,V>

public class DelegationMap<K,V>
extends Object
implements Map<K,V>

委譲先に委譲するMapです。
適用しているデザインパターン:Delegation。


入れ子のクラスの概要
 
インタフェース java.util.Map から継承された入れ子のクラス/インタフェース
Map.Entry<K,V>
 
コンストラクタの概要
DelegationMap(Map<K,V> map)
           
 
メソッドの概要
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<K,V>> entrySet()
           
 boolean equals(Object o)
           
 V get(Object key)
           
 Map<K,V> getMap()
           
 int hashCode()
           
 boolean isEmpty()
           
 Set<K> keySet()
           
 V put(K key, V value)
           
 void putAll(Map<? extends K,? extends V> t)
           
 V remove(Object key)
           
 void setMap(Map<K,V> child)
           
 int size()
           
 String toString()
           
 Collection<V> values()
           
 
クラス java.lang.Object から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

DelegationMap

public DelegationMap(Map<K,V> map)
メソッドの詳細

clear

public void clear()
定義:
インタフェース Map<K,V> 内の clear

containsKey

public boolean containsKey(Object key)
定義:
インタフェース Map<K,V> 内の containsKey

containsValue

public boolean containsValue(Object value)
定義:
インタフェース Map<K,V> 内の containsValue

entrySet

public Set<Map.Entry<K,V>> entrySet()
定義:
インタフェース Map<K,V> 内の entrySet

get

public V get(Object key)
定義:
インタフェース Map<K,V> 内の get

isEmpty

public boolean isEmpty()
定義:
インタフェース Map<K,V> 内の isEmpty

keySet

public Set<K> keySet()
定義:
インタフェース Map<K,V> 内の keySet

put

public V put(K key,
             V value)
定義:
インタフェース Map<K,V> 内の put

putAll

public void putAll(Map<? extends K,? extends V> t)
定義:
インタフェース Map<K,V> 内の putAll

size

public int size()
定義:
インタフェース Map<K,V> 内の size

values

public Collection<V> values()
定義:
インタフェース Map<K,V> 内の values

remove

public V remove(Object key)
定義:
インタフェース Map<K,V> 内の remove

equals

public boolean equals(Object o)
定義:
インタフェース Map<K,V> 内の equals
オーバーライド:
クラス Object 内の equals

hashCode

public int hashCode()
定義:
インタフェース Map<K,V> 内の hashCode
オーバーライド:
クラス Object 内の hashCode

toString

public String toString()
オーバーライド:
クラス Object 内の toString

getMap

public Map<K,V> getMap()

setMap

public void setMap(Map<K,V> child)


Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.