org.clapper.util.misc
Interface MultiValueMap.ValuesCollectionAllocator<V>

Enclosing class:
MultiValueMap<K,V>

public static interface MultiValueMap.ValuesCollectionAllocator<V>

Used to allocate a new Collection for the values associated with a key. Callers may specified their own implementation of this interface to cause a MultiValueMap object to use a different Collection class other ArrayList.


Method Summary
 java.util.Collection<V> newValuesCollection()
          Allocate a new Collection class for use in storing the values for a key.
 

Method Detail

newValuesCollection

java.util.Collection<V> newValuesCollection()
Allocate a new Collection class for use in storing the values for a key.

Returns:
a Collection object


Copyright © 2004-2007 Brian M. Clapper. All Rights Reserved.