public interface CollectionsProvider
| Modifier and Type | Method and Description | 
|---|---|
<K,V> Map<K,V> | 
newIdentityMap()
Creates a map that uses reference-equality in place of object-equality when comparing keys. 
 | 
<K,V> Map<K,V> | 
newIdentityMap(int expectedMaxSize)
Creates a map that uses reference-equality in place of object-equality when comparing keys. 
 | 
<K,V> Map<K,V> | 
newIdentityMap(Map<K,V> initFrom)
Creates a map that uses reference-equality in place of object-equality when comparing keys. 
 | 
<E> Set<E> | 
newIdentitySet()
Creates a set that uses reference-equality in place of object-equality when comparing
 entries. 
 | 
<E> Set<E> newIdentitySet()
<K,V> Map<K,V> newIdentityMap()
<K,V> Map<K,V> newIdentityMap(int expectedMaxSize)
expectedMaxSize - the expected maximum size of the map<K,V> Map<K,V> newIdentityMap(Map<K,V> initFrom)
initFrom - the returned map is populated with the entries in this map