net.java.dev.moskito.util.storage
Interface StorageWrapper<K,V>

All Known Implementing Classes:
MapStorageWrapper

public interface StorageWrapper<K,V>


Method Summary
 void clear()
           
 boolean containsKey(K key)
           
 boolean containsValue(V value)
           
 Map<K,V> fillMap(Map<K,V> toFill)
           
 V get(K key)
           
 boolean isEmpty()
           
 Collection<K> keys()
           
 Set<K> keySet()
           
 V put(K key, V value)
           
 void putAll(Map<? extends K,? extends V> aMap)
           
 void putAll(StorageWrapper<? extends K,? extends V> anotherWrapper)
           
 V remove(K key)
           
 int size()
           
 Map<K,V> toMap()
           
 Collection<V> values()
           
 

Method Detail

get

V get(K key)

put

V put(K key,
      V value)

size

int size()

isEmpty

boolean isEmpty()

containsKey

boolean containsKey(K key)

containsValue

boolean containsValue(V value)

remove

V remove(K key)

putAll

void putAll(StorageWrapper<? extends K,? extends V> anotherWrapper)

putAll

void putAll(Map<? extends K,? extends V> aMap)

keySet

Set<K> keySet()

keys

Collection<K> keys()

values

Collection<V> values()

clear

void clear()

toMap

Map<K,V> toMap()

fillMap

Map<K,V> fillMap(Map<K,V> toFill)


Copyright © 2006-2007 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework