public class TCollections extends Object
Collections class.
| Modifier and Type | Method and Description |
|---|---|
static TByteCollection |
synchronizedCollection(TByteCollection
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection.
|
static TCharCollection |
synchronizedCollection(TCharCollection
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection.
|
static TDoubleCollection |
synchronizedCollection(TDoubleCollection
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection.
|
static TFloatCollection |
synchronizedCollection(TFloatCollection
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection.
|
static TIntCollection |
synchronizedCollection(TIntCollection
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection.
|
static TLongCollection |
synchronizedCollection(TLongCollection
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection.
|
static TShortCollection |
synchronizedCollection(TShortCollection
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection.
|
static TByteList |
synchronizedList(TByteList
Returns a synchronized (thread-safe) Trove list backed by the specified list.
|
static TCharList |
synchronizedList(TCharList
Returns a synchronized (thread-safe) Trove list backed by the specified list.
|
static TDoubleList |
synchronizedList(TDoubleList
Returns a synchronized (thread-safe) Trove list backed by the specified list.
|
static TFloatList |
synchronizedList(TFloatList
Returns a synchronized (thread-safe) Trove list backed by the specified list.
|
static TIntList |
synchronizedList(TIntList
Returns a synchronized (thread-safe) Trove list backed by the specified list.
|
static TLongList |
synchronizedList(TLongList
Returns a synchronized (thread-safe) Trove list backed by the specified list.
|
static TShortList |
synchronizedList(TShortList
Returns a synchronized (thread-safe) Trove list backed by the specified list.
|
static TByteByteMap |
synchronizedMap(TByteByteMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TByteCharMap |
synchronizedMap(TByteCharMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TByteDoubleMap |
synchronizedMap(TByteDoubleMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TByteFloatMap |
synchronizedMap(TByteFloatMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TByteIntMap |
synchronizedMap(TByteIntMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TByteLongMap |
synchronizedMap(TByteLongMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <V> TByteObjectMap |
synchronizedMap(TByteObjectMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TByteShortMap |
synchronizedMap(TByteShortMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TCharByteMap |
synchronizedMap(TCharByteMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TCharCharMap |
synchronizedMap(TCharCharMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TCharDoubleMap |
synchronizedMap(TCharDoubleMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TCharFloatMap |
synchronizedMap(TCharFloatMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TCharIntMap |
synchronizedMap(TCharIntMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TCharLongMap |
synchronizedMap(TCharLongMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <V> TCharObjectMap |
synchronizedMap(TCharObjectMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TCharShortMap |
synchronizedMap(TCharShortMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TDoubleByteMap |
synchronizedMap(TDoubleByteMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TDoubleCharMap |
synchronizedMap(TDoubleCharMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TDoubleDoubleMap |
synchronizedMap(TDoubleDoubleMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TDoubleFloatMap |
synchronizedMap(TDoubleFloatMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TDoubleIntMap |
synchronizedMap(TDoubleIntMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TDoubleLongMap |
synchronizedMap(TDoubleLongMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <V> TDoubleObjectMap |
synchronizedMap(TDoubleObjectMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TDoubleShortMap |
synchronizedMap(TDoubleShortMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TFloatByteMap |
synchronizedMap(TFloatByteMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TFloatCharMap |
synchronizedMap(TFloatCharMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TFloatDoubleMap |
synchronizedMap(TFloatDoubleMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TFloatFloatMap |
synchronizedMap(TFloatFloatMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TFloatIntMap |
synchronizedMap(TFloatIntMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TFloatLongMap |
synchronizedMap(TFloatLongMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <V> TFloatObjectMap |
synchronizedMap(TFloatObjectMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TFloatShortMap |
synchronizedMap(TFloatShortMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TIntByteMap |
synchronizedMap(TIntByteMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TIntCharMap |
synchronizedMap(TIntCharMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TIntDoubleMap |
synchronizedMap(TIntDoubleMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TIntFloatMap |
synchronizedMap(TIntFloatMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TIntIntMap |
synchronizedMap(TIntIntMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TIntLongMap |
synchronizedMap(TIntLongMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <V> TIntObjectMap |
synchronizedMap(TIntObjectMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TIntShortMap |
synchronizedMap(TIntShortMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TLongByteMap |
synchronizedMap(TLongByteMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TLongCharMap |
synchronizedMap(TLongCharMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TLongDoubleMap |
synchronizedMap(TLongDoubleMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TLongFloatMap |
synchronizedMap(TLongFloatMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TLongIntMap |
synchronizedMap(TLongIntMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TLongLongMap |
synchronizedMap(TLongLongMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <V> TLongObjectMap |
synchronizedMap(TLongObjectMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TLongShortMap |
synchronizedMap(TLongShortMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <K> TObjectByteMap |
synchronizedMap(TObjectByteMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <K> TObjectCharMap |
synchronizedMap(TObjectCharMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <K> TObjectDoubleMap |
synchronizedMap(TObjectDoubleMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <K> TObjectFloatMap |
synchronizedMap(TObjectFloatMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <K> TObjectIntMap |
synchronizedMap(TObjectIntMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <K> TObjectLongMap |
synchronizedMap(TObjectLongMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <K> TObjectShortMap |
synchronizedMap(TObjectShortMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TShortByteMap |
synchronizedMap(TShortByteMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TShortCharMap |
synchronizedMap(TShortCharMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TShortDoubleMap |
synchronizedMap(TShortDoubleMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TShortFloatMap |
synchronizedMap(TShortFloatMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TShortIntMap |
synchronizedMap(TShortIntMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TShortLongMap |
synchronizedMap(TShortLongMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static <V> TShortObjectMap |
synchronizedMap(TShortObjectMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TShortShortMap |
synchronizedMap(TShortShortMap
Returns a synchronized (thread-safe) Trove map backed by the specified map.
|
static TByteSet |
synchronizedSet(TByteSet
Returns a synchronized (thread-safe) Trove set backed by the specified set.
|
static TCharSet |
synchronizedSet(TCharSet
Returns a synchronized (thread-safe) Trove set backed by the specified set.
|
static TDoubleSet |
synchronizedSet(TDoubleSet
Returns a synchronized (thread-safe) Trove set backed by the specified set.
|
static TFloatSet |
synchronizedSet(TFloatSet
Returns a synchronized (thread-safe) Trove set backed by the specified set.
|
static TIntSet |
synchronizedSet(TIntSet
Returns a synchronized (thread-safe) Trove set backed by the specified set.
|
static TLongSet |
synchronizedSet(TLongSet
Returns a synchronized (thread-safe) Trove set backed by the specified set.
|
static TShortSet |
synchronizedSet(TShortSet
Returns a synchronized (thread-safe) Trove set backed by the specified set.
|
static TByteCollection |
unmodifiableCollection(TByteCollection
Returns an unmodifiable view of the specified Trove primitive collection.
|
static TCharCollection |
unmodifiableCollection(TCharCollection
Returns an unmodifiable view of the specified Trove primitive collection.
|
static TDoubleCollection |
unmodifiableCollection(TDoubleCollection
Returns an unmodifiable view of the specified Trove primitive collection.
|
static TFloatCollection |
unmodifiableCollection(TFloatCollection
Returns an unmodifiable view of the specified Trove primitive collection.
|
static TIntCollection |
unmodifiableCollection(TIntCollection
Returns an unmodifiable view of the specified Trove primitive collection.
|
static TLongCollection |
unmodifiableCollection(TLongCollection
Returns an unmodifiable view of the specified Trove primitive collection.
|
static TShortCollection |
unmodifiableCollection(TShortCollection
Returns an unmodifiable view of the specified Trove primitive collection.
|
static TByteList |
unmodifiableList(TByteList
Returns an unmodifiable view of the specified Trove primitive list.
|
static TCharList |
unmodifiableList(TCharList
Returns an unmodifiable view of the specified Trove primitive list.
|
static TDoubleList |
unmodifiableList(TDoubleList
Returns an unmodifiable view of the specified Trove primitive list.
|
static TFloatList |
unmodifiableList(TFloatList
Returns an unmodifiable view of the specified Trove primitive list.
|
static TIntList |
unmodifiableList(TIntList
Returns an unmodifiable view of the specified Trove primitive list.
|
static TLongList |
unmodifiableList(TLongList
Returns an unmodifiable view of the specified Trove primitive list.
|
static TShortList |
unmodifiableList(TShortList
Returns an unmodifiable view of the specified Trove primitive list.
|
static TByteByteMap |
unmodifiableMap(TByteByteMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TByteCharMap |
unmodifiableMap(TByteCharMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TByteDoubleMap |
unmodifiableMap(TByteDoubleMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TByteFloatMap |
unmodifiableMap(TByteFloatMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TByteIntMap |
unmodifiableMap(TByteIntMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TByteLongMap |
unmodifiableMap(TByteLongMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static <V> TByteObjectMap |
unmodifiableMap(TByteObjectMap
Returns an unmodifiable view of the specified Trove primitive/Object map.
|
static TByteShortMap |
unmodifiableMap(TByteShortMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TCharByteMap |
unmodifiableMap(TCharByteMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TCharCharMap |
unmodifiableMap(TCharCharMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TCharDoubleMap |
unmodifiableMap(TCharDoubleMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TCharFloatMap |
unmodifiableMap(TCharFloatMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TCharIntMap |
unmodifiableMap(TCharIntMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TCharLongMap |
unmodifiableMap(TCharLongMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static <V> TCharObjectMap |
unmodifiableMap(TCharObjectMap
Returns an unmodifiable view of the specified Trove primitive/Object map.
|
static TCharShortMap |
unmodifiableMap(TCharShortMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TDoubleByteMap |
unmodifiableMap(TDoubleByteMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TDoubleCharMap |
unmodifiableMap(TDoubleCharMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TDoubleDoubleMap |
unmodifiableMap(TDoubleDoubleMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TDoubleFloatMap |
unmodifiableMap(TDoubleFloatMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TDoubleIntMap |
unmodifiableMap(TDoubleIntMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TDoubleLongMap |
unmodifiableMap(TDoubleLongMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static <V> TDoubleObjectMap |
unmodifiableMap(TDoubleObjectMap
Returns an unmodifiable view of the specified Trove primitive/Object map.
|
static TDoubleShortMap |
unmodifiableMap(TDoubleShortMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TFloatByteMap |
unmodifiableMap(TFloatByteMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TFloatCharMap |
unmodifiableMap(TFloatCharMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TFloatDoubleMap |
unmodifiableMap(TFloatDoubleMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TFloatFloatMap |
unmodifiableMap(TFloatFloatMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TFloatIntMap |
unmodifiableMap(TFloatIntMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TFloatLongMap |
unmodifiableMap(TFloatLongMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static <V> TFloatObjectMap |
unmodifiableMap(TFloatObjectMap
Returns an unmodifiable view of the specified Trove primitive/Object map.
|
static TFloatShortMap |
unmodifiableMap(TFloatShortMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TIntByteMap |
unmodifiableMap(TIntByteMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TIntCharMap |
unmodifiableMap(TIntCharMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TIntDoubleMap |
unmodifiableMap(TIntDoubleMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TIntFloatMap |
unmodifiableMap(TIntFloatMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TIntIntMap |
unmodifiableMap(TIntIntMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TIntLongMap |
unmodifiableMap(TIntLongMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static <V> TIntObjectMap |
unmodifiableMap(TIntObjectMap
Returns an unmodifiable view of the specified Trove primitive/Object map.
|
static TIntShortMap |
unmodifiableMap(TIntShortMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TLongByteMap |
unmodifiableMap(TLongByteMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TLongCharMap |
unmodifiableMap(TLongCharMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TLongDoubleMap |
unmodifiableMap(TLongDoubleMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TLongFloatMap |
unmodifiableMap(TLongFloatMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TLongIntMap |
unmodifiableMap(TLongIntMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TLongLongMap |
unmodifiableMap(TLongLongMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static <V> TLongObjectMap |
unmodifiableMap(TLongObjectMap
Returns an unmodifiable view of the specified Trove primitive/Object map.
|
static TLongShortMap |
unmodifiableMap(TLongShortMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static <K> TObjectByteMap |
unmodifiableMap(TObjectByteMap
Returns an unmodifiable view of the specified Trove Object/primitive map.
|
static <K> TObjectCharMap |
unmodifiableMap(TObjectCharMap
Returns an unmodifiable view of the specified Trove Object/primitive map.
|
static <K> TObjectDoubleMap |
unmodifiableMap(TObjectDoubleMap
Returns an unmodifiable view of the specified Trove Object/primitive map.
|
static <K> TObjectFloatMap |
unmodifiableMap(TObjectFloatMap
Returns an unmodifiable view of the specified Trove Object/primitive map.
|
static <K> TObjectIntMap |
unmodifiableMap(TObjectIntMap
Returns an unmodifiable view of the specified Trove Object/primitive map.
|
static <K> TObjectLongMap |
unmodifiableMap(TObjectLongMap
Returns an unmodifiable view of the specified Trove Object/primitive map.
|
static <K> TObjectShortMap |
unmodifiableMap(TObjectShortMap
Returns an unmodifiable view of the specified Trove Object/primitive map.
|
static TShortByteMap |
unmodifiableMap(TShortByteMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TShortCharMap |
unmodifiableMap(TShortCharMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TShortDoubleMap |
unmodifiableMap(TShortDoubleMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TShortFloatMap |
unmodifiableMap(TShortFloatMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TShortIntMap |
unmodifiableMap(TShortIntMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TShortLongMap |
unmodifiableMap(TShortLongMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static <V> TShortObjectMap |
unmodifiableMap(TShortObjectMap
Returns an unmodifiable view of the specified Trove primitive/Object map.
|
static TShortShortMap |
unmodifiableMap(TShortShortMap
Returns an unmodifiable view of the specified Trove primitive/primitive map.
|
static TByteSet |
unmodifiableSet(TByteSet
Returns an unmodifiable view of the specified Trove primitive set.
|
static TCharSet |
unmodifiableSet(TCharSet
Returns an unmodifiable view of the specified Trove primitive set.
|
static TDoubleSet |
unmodifiableSet(TDoubleSet
Returns an unmodifiable view of the specified Trove primitive set.
|
static TFloatSet |
unmodifiableSet(TFloatSet
Returns an unmodifiable view of the specified Trove primitive set.
|
static TIntSet |
unmodifiableSet(TIntSet
Returns an unmodifiable view of the specified Trove primitive set.
|
static TLongSet |
unmodifiableSet(TLongSet
Returns an unmodifiable view of the specified Trove primitive set.
|
static TShortSet |
unmodifiableSet(TShortSet
Returns an unmodifiable view of the specified Trove primitive set.
|
public static TDoubleCollectionunmodifiableCollection(TDoubleCollection c)
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection for which an unmodifiable view is to be returned.
public static TFloatCollectionunmodifiableCollection(TFloatCollection c)
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection for which an unmodifiable view is to be returned.
public static TIntCollectionunmodifiableCollection(TIntCollection c)
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection for which an unmodifiable view is to be returned.
public static TLongCollectionunmodifiableCollection(TLongCollection c)
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection for which an unmodifiable view is to be returned.
public static TByteCollectionunmodifiableCollection(TByteCollection c)
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection for which an unmodifiable view is to be returned.
public static TShortCollectionunmodifiableCollection(TShortCollection c)
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection for which an unmodifiable view is to be returned.
public static TCharCollectionunmodifiableCollection(TCharCollection c)
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection for which an unmodifiable view is to be returned.
public static TDoubleSetunmodifiableSet(TDoubleSet s)
The returned set will be serializable if the specified set is serializable.
s - the set for which an unmodifiable view is to be returned.
public static TFloatSetunmodifiableSet(TFloatSet s)
The returned set will be serializable if the specified set is serializable.
s - the set for which an unmodifiable view is to be returned.
public static TIntSetunmodifiableSet(TIntSet s)
The returned set will be serializable if the specified set is serializable.
s - the set for which an unmodifiable view is to be returned.
public static TLongSetunmodifiableSet(TLongSet s)
The returned set will be serializable if the specified set is serializable.
s - the set for which an unmodifiable view is to be returned.
public static TByteSetunmodifiableSet(TByteSet s)
The returned set will be serializable if the specified set is serializable.
s - the set for which an unmodifiable view is to be returned.
public static TShortSetunmodifiableSet(TShortSet s)
The returned set will be serializable if the specified set is serializable.
s - the set for which an unmodifiable view is to be returned.
public static TCharSetunmodifiableSet(TCharSet s)
The returned set will be serializable if the specified set is serializable.
s - the set for which an unmodifiable view is to be returned.
public static TDoubleListunmodifiableList(TDoubleList list)
The returned list will be serializable if the specified list is serializable. Similarly, the returned list will implement RandomAccess if the specified list does.
list - the list for which an unmodifiable view is to be returned.
public static TFloatListunmodifiableList(TFloatList list)
The returned list will be serializable if the specified list is serializable. Similarly, the returned list will implement RandomAccess if the specified list does.
list - the list for which an unmodifiable view is to be returned.
public static TIntListunmodifiableList(TIntList list)
The returned list will be serializable if the specified list is serializable. Similarly, the returned list will implement RandomAccess if the specified list does.
list - the list for which an unmodifiable view is to be returned.
public static TLongListunmodifiableList(TLongList list)
The returned list will be serializable if the specified list is serializable. Similarly, the returned list will implement RandomAccess if the specified list does.
list - the list for which an unmodifiable view is to be returned.
public static TByteListunmodifiableList(TByteList list)
The returned list will be serializable if the specified list is serializable. Similarly, the returned list will implement RandomAccess if the specified list does.
list - the list for which an unmodifiable view is to be returned.
public static TShortListunmodifiableList(TShortList list)
The returned list will be serializable if the specified list is serializable. Similarly, the returned list will implement RandomAccess if the specified list does.
list - the list for which an unmodifiable view is to be returned.
public static TCharListunmodifiableList(TCharList list)
The returned list will be serializable if the specified list is serializable. Similarly, the returned list will implement RandomAccess if the specified list does.
list - the list for which an unmodifiable view is to be returned.
public static TDoubleDoubleMapunmodifiableMap(TDoubleDoubleMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TDoubleFloatMapunmodifiableMap(TDoubleFloatMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TDoubleIntMapunmodifiableMap(TDoubleIntMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TDoubleLongMapunmodifiableMap(TDoubleLongMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TDoubleByteMapunmodifiableMap(TDoubleByteMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TDoubleShortMapunmodifiableMap(TDoubleShortMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TDoubleCharMapunmodifiableMap(TDoubleCharMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TFloatDoubleMapunmodifiableMap(TFloatDoubleMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TFloatFloatMapunmodifiableMap(TFloatFloatMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TFloatIntMapunmodifiableMap(TFloatIntMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TFloatLongMapunmodifiableMap(TFloatLongMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TFloatByteMapunmodifiableMap(TFloatByteMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TFloatShortMapunmodifiableMap(TFloatShortMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TFloatCharMapunmodifiableMap(TFloatCharMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TIntDoubleMapunmodifiableMap(TIntDoubleMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TIntFloatMapunmodifiableMap(TIntFloatMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TIntIntMapunmodifiableMap(TIntIntMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TIntLongMapunmodifiableMap(TIntLongMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TIntByteMapunmodifiableMap(TIntByteMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TIntShortMapunmodifiableMap(TIntShortMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TIntCharMapunmodifiableMap(TIntCharMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TLongDoubleMapunmodifiableMap(TLongDoubleMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TLongFloatMapunmodifiableMap(TLongFloatMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TLongIntMapunmodifiableMap(TLongIntMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TLongLongMapunmodifiableMap(TLongLongMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TLongByteMapunmodifiableMap(TLongByteMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TLongShortMapunmodifiableMap(TLongShortMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TLongCharMapunmodifiableMap(TLongCharMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TByteDoubleMapunmodifiableMap(TByteDoubleMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TByteFloatMapunmodifiableMap(TByteFloatMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TByteIntMapunmodifiableMap(TByteIntMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TByteLongMapunmodifiableMap(TByteLongMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TByteByteMapunmodifiableMap(TByteByteMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TByteShortMapunmodifiableMap(TByteShortMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TByteCharMapunmodifiableMap(TByteCharMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TShortDoubleMapunmodifiableMap(TShortDoubleMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TShortFloatMapunmodifiableMap(TShortFloatMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TShortIntMapunmodifiableMap(TShortIntMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TShortLongMapunmodifiableMap(TShortLongMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TShortByteMapunmodifiableMap(TShortByteMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TShortShortMapunmodifiableMap(TShortShortMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TShortCharMapunmodifiableMap(TShortCharMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TCharDoubleMapunmodifiableMap(TCharDoubleMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TCharFloatMapunmodifiableMap(TCharFloatMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TCharIntMapunmodifiableMap(TCharIntMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TCharLongMapunmodifiableMap(TCharLongMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TCharByteMapunmodifiableMap(TCharByteMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TCharShortMapunmodifiableMap(TCharShortMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TCharCharMapunmodifiableMap(TCharCharMap m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <V> TDoubleObjectMap<V> unmodifiableMap(TDoubleObjectMap <V> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <V> TFloatObjectMap<V> unmodifiableMap(TFloatObjectMap <V> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <V> TIntObjectMap<V> unmodifiableMap(TIntObjectMap <V> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <V> TLongObjectMap<V> unmodifiableMap(TLongObjectMap <V> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <V> TByteObjectMap<V> unmodifiableMap(TByteObjectMap <V> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <V> TShortObjectMap<V> unmodifiableMap(TShortObjectMap <V> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <V> TCharObjectMap<V> unmodifiableMap(TCharObjectMap <V> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <K> TObjectDoubleMap<K> unmodifiableMap(TObjectDoubleMap <K> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <K> TObjectFloatMap<K> unmodifiableMap(TObjectFloatMap <K> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <K> TObjectIntMap<K> unmodifiableMap(TObjectIntMap <K> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <K> TObjectLongMap<K> unmodifiableMap(TObjectLongMap <K> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <K> TObjectByteMap<K> unmodifiableMap(TObjectByteMap <K> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <K> TObjectShortMap<K> unmodifiableMap(TObjectShortMap <K> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static <K> TObjectCharMap<K> unmodifiableMap(TObjectCharMap <K> m)
The returned map will be serializable if the specified map is serializable.
m - the map for which an unmodifiable view is to be returned.
public static TDoubleCollectionsynchronizedCollection(TDoubleCollection c)
It is imperative that the user manually synchronize on the returned collection when iterating over it:
TDoubleCollection c = TCollections.synchronizedCollection( myCollection );
...
synchronized( c ) {
TDoubleIterator i = c.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection to be "wrapped" in a synchronized collection.
public static TFloatCollectionsynchronizedCollection(TFloatCollection c)
It is imperative that the user manually synchronize on the returned collection when iterating over it:
TFloatCollection c = TCollections.synchronizedCollection( myCollection );
...
synchronized( c ) {
TFloatIterator i = c.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection to be "wrapped" in a synchronized collection.
public static TIntCollectionsynchronizedCollection(TIntCollection c)
It is imperative that the user manually synchronize on the returned collection when iterating over it:
TIntCollection c = TCollections.synchronizedCollection( myCollection );
...
synchronized( c ) {
TIntIterator i = c.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection to be "wrapped" in a synchronized collection.
public static TLongCollectionsynchronizedCollection(TLongCollection c)
It is imperative that the user manually synchronize on the returned collection when iterating over it:
TLongCollection c = TCollections.synchronizedCollection( myCollection );
...
synchronized( c ) {
TLongIterator i = c.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection to be "wrapped" in a synchronized collection.
public static TByteCollectionsynchronizedCollection(TByteCollection c)
It is imperative that the user manually synchronize on the returned collection when iterating over it:
TByteCollection c = TCollections.synchronizedCollection( myCollection );
...
synchronized( c ) {
TByteIterator i = c.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection to be "wrapped" in a synchronized collection.
public static TShortCollectionsynchronizedCollection(TShortCollection c)
It is imperative that the user manually synchronize on the returned collection when iterating over it:
TShortCollection c = TCollections.synchronizedCollection( myCollection );
...
synchronized( c ) {
TShortIterator i = c.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection to be "wrapped" in a synchronized collection.
public static TCharCollectionsynchronizedCollection(TCharCollection c)
It is imperative that the user manually synchronize on the returned collection when iterating over it:
TCharCollection c = TCollections.synchronizedCollection( myCollection );
...
synchronized( c ) {
TCharIterator i = c.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned collection does not pass the hashCode and equals operations through to the backing collection, but relies on Object's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case that the backing collection is a set or a list.
The returned collection will be serializable if the specified collection is serializable.
c - the collection to be "wrapped" in a synchronized collection.
public static TDoubleSetsynchronizedSet(TDoubleSet s)
It is imperative that the user manually synchronize on the returned set when iterating over it:
TDoubleSet s = TCollections.synchronizedSet( new TDoubleHashSet() );
...
synchronized(s) {
TDoubleIterator i = s.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned set will be serializable if the specified set is serializable.
s - the set to be "wrapped" in a synchronized set.
public static TFloatSetsynchronizedSet(TFloatSet s)
It is imperative that the user manually synchronize on the returned set when iterating over it:
TFloatSet s = TCollections.synchronizedSet( new TFloatHashSet() );
...
synchronized(s) {
TFloatIterator i = s.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned set will be serializable if the specified set is serializable.
s - the set to be "wrapped" in a synchronized set.
public static TIntSetsynchronizedSet(TIntSet s)
It is imperative that the user manually synchronize on the returned set when iterating over it:
TIntSet s = TCollections.synchronizedSet( new TIntHashSet() );
...
synchronized(s) {
TIntIterator i = s.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned set will be serializable if the specified set is serializable.
s - the set to be "wrapped" in a synchronized set.
public static TLongSetsynchronizedSet(TLongSet s)
It is imperative that the user manually synchronize on the returned set when iterating over it:
TLongSet s = TCollections.synchronizedSet( new TLongHashSet() );
...
synchronized(s) {
TLongIterator i = s.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned set will be serializable if the specified set is serializable.
s - the set to be "wrapped" in a synchronized set.
public static TByteSetsynchronizedSet(TByteSet s)
It is imperative that the user manually synchronize on the returned set when iterating over it:
TByteSet s = TCollections.synchronizedSet( new TByteHashSet() );
...
synchronized(s) {
TByteIterator i = s.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned set will be serializable if the specified set is serializable.
s - the set to be "wrapped" in a synchronized set.
public static TShortSetsynchronizedSet(TShortSet s)
It is imperative that the user manually synchronize on the returned set when iterating over it:
TShortSet s = TCollections.synchronizedSet( new TShortHashSet() );
...
synchronized(s) {
TShortIterator i = s.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned set will be serializable if the specified set is serializable.
s - the set to be "wrapped" in a synchronized set.
public static TCharSetsynchronizedSet(TCharSet s)
It is imperative that the user manually synchronize on the returned set when iterating over it:
TCharSet s = TCollections.synchronizedSet( new TCharHashSet() );
...
synchronized(s) {
TCharIterator i = s.iterator(); // Must be in the synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned set will be serializable if the specified set is serializable.
s - the set to be "wrapped" in a synchronized set.
public static TDoubleListsynchronizedList(TDoubleList list)
It is imperative that the user manually synchronize on the returned list when iterating over it:
TDoubleList list = TCollections.synchronizedList( new TDoubleArrayList() );
...
synchronized( list ) {
TDoubleIterator i = list.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned list will be serializable if the specified list is serializable.
list - the list to be "wrapped" in a synchronized list.
public static TFloatListsynchronizedList(TFloatList list)
It is imperative that the user manually synchronize on the returned list when iterating over it:
TFloatList list = TCollections.synchronizedList( new TFloatArrayList() );
...
synchronized( list ) {
TFloatIterator i = list.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned list will be serializable if the specified list is serializable.
list - the list to be "wrapped" in a synchronized list.
public static TIntListsynchronizedList(TIntList list)
It is imperative that the user manually synchronize on the returned list when iterating over it:
TIntList list = TCollections.synchronizedList( new TIntArrayList() );
...
synchronized( list ) {
TIntIterator i = list.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned list will be serializable if the specified list is serializable.
list - the list to be "wrapped" in a synchronized list.
public static TLongListsynchronizedList(TLongList list)
It is imperative that the user manually synchronize on the returned list when iterating over it:
TLongList list = TCollections.synchronizedList( new TLongArrayList() );
...
synchronized( list ) {
TLongIterator i = list.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned list will be serializable if the specified list is serializable.
list - the list to be "wrapped" in a synchronized list.
public static TByteListsynchronizedList(TByteList list)
It is imperative that the user manually synchronize on the returned list when iterating over it:
TByteList list = TCollections.synchronizedList( new TByteArrayList() );
...
synchronized( list ) {
TByteIterator i = list.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned list will be serializable if the specified list is serializable.
list - the list to be "wrapped" in a synchronized list.
public static TShortListsynchronizedList(TShortList list)
It is imperative that the user manually synchronize on the returned list when iterating over it:
TShortList list = TCollections.synchronizedList( new TShortArrayList() );
...
synchronized( list ) {
TShortIterator i = list.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned list will be serializable if the specified list is serializable.
list - the list to be "wrapped" in a synchronized list.
public static TCharListsynchronizedList(TCharList list)
It is imperative that the user manually synchronize on the returned list when iterating over it:
TCharList list = TCollections.synchronizedList( new TCharArrayList() );
...
synchronized( list ) {
TCharIterator i = list.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned list will be serializable if the specified list is serializable.
list - the list to be "wrapped" in a synchronized list.
public static TDoubleDoubleMapsynchronizedMap(TDoubleDoubleMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TDoubleDoubleMap m = TCollections.synchronizedMap( new TDoubleDoubleHashMap() );
...
TDoubleSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TDoubleIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TDoubleFloatMapsynchronizedMap(TDoubleFloatMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TDoubleFloatMap m = TCollections.synchronizedMap( new TDoubleFloatHashMap() );
...
TDoubleSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TDoubleIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TDoubleIntMapsynchronizedMap(TDoubleIntMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TDoubleIntMap m = TCollections.synchronizedMap( new TDoubleIntHashMap() );
...
TDoubleSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TDoubleIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TDoubleLongMapsynchronizedMap(TDoubleLongMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TDoubleLongMap m = TCollections.synchronizedMap( new TDoubleLongHashMap() );
...
TDoubleSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TDoubleIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TDoubleByteMapsynchronizedMap(TDoubleByteMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TDoubleByteMap m = TCollections.synchronizedMap( new TDoubleByteHashMap() );
...
TDoubleSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TDoubleIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TDoubleShortMapsynchronizedMap(TDoubleShortMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TDoubleShortMap m = TCollections.synchronizedMap( new TDoubleShortHashMap() );
...
TDoubleSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TDoubleIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TDoubleCharMapsynchronizedMap(TDoubleCharMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TDoubleCharMap m = TCollections.synchronizedMap( new TDoubleCharHashMap() );
...
TDoubleSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TDoubleIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TFloatDoubleMapsynchronizedMap(TFloatDoubleMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TFloatDoubleMap m = TCollections.synchronizedMap( new TFloatDoubleHashMap() );
...
TFloatSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TFloatIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TFloatFloatMapsynchronizedMap(TFloatFloatMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TFloatFloatMap m = TCollections.synchronizedMap( new TFloatFloatHashMap() );
...
TFloatSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TFloatIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TFloatIntMapsynchronizedMap(TFloatIntMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TFloatIntMap m = TCollections.synchronizedMap( new TFloatIntHashMap() );
...
TFloatSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TFloatIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TFloatLongMapsynchronizedMap(TFloatLongMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TFloatLongMap m = TCollections.synchronizedMap( new TFloatLongHashMap() );
...
TFloatSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TFloatIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TFloatByteMapsynchronizedMap(TFloatByteMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TFloatByteMap m = TCollections.synchronizedMap( new TFloatByteHashMap() );
...
TFloatSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TFloatIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TFloatShortMapsynchronizedMap(TFloatShortMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TFloatShortMap m = TCollections.synchronizedMap( new TFloatShortHashMap() );
...
TFloatSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TFloatIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TFloatCharMapsynchronizedMap(TFloatCharMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TFloatCharMap m = TCollections.synchronizedMap( new TFloatCharHashMap() );
...
TFloatSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TFloatIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TIntDoubleMapsynchronizedMap(TIntDoubleMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TIntDoubleMap m = TCollections.synchronizedMap( new TIntDoubleHashMap() );
...
TIntSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TIntIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TIntFloatMapsynchronizedMap(TIntFloatMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TIntFloatMap m = TCollections.synchronizedMap( new TIntFloatHashMap() );
...
TIntSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TIntIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TIntIntMapsynchronizedMap(TIntIntMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TIntIntMap m = TCollections.synchronizedMap( new TIntIntHashMap() );
...
TIntSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TIntIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TIntLongMapsynchronizedMap(TIntLongMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TIntLongMap m = TCollections.synchronizedMap( new TIntLongHashMap() );
...
TIntSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TIntIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TIntByteMapsynchronizedMap(TIntByteMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TIntByteMap m = TCollections.synchronizedMap( new TIntByteHashMap() );
...
TIntSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TIntIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TIntShortMapsynchronizedMap(TIntShortMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TIntShortMap m = TCollections.synchronizedMap( new TIntShortHashMap() );
...
TIntSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TIntIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TIntCharMapsynchronizedMap(TIntCharMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TIntCharMap m = TCollections.synchronizedMap( new TIntCharHashMap() );
...
TIntSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TIntIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TLongDoubleMapsynchronizedMap(TLongDoubleMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TLongDoubleMap m = TCollections.synchronizedMap( new TLongDoubleHashMap() );
...
TLongSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TLongIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TLongFloatMapsynchronizedMap(TLongFloatMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TLongFloatMap m = TCollections.synchronizedMap( new TLongFloatHashMap() );
...
TLongSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TLongIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TLongIntMapsynchronizedMap(TLongIntMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TLongIntMap m = TCollections.synchronizedMap( new TLongIntHashMap() );
...
TLongSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TLongIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TLongLongMapsynchronizedMap(TLongLongMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TLongLongMap m = TCollections.synchronizedMap( new TLongLongHashMap() );
...
TLongSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TLongIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TLongByteMapsynchronizedMap(TLongByteMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TLongByteMap m = TCollections.synchronizedMap( new TLongByteHashMap() );
...
TLongSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TLongIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TLongShortMapsynchronizedMap(TLongShortMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TLongShortMap m = TCollections.synchronizedMap( new TLongShortHashMap() );
...
TLongSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TLongIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TLongCharMapsynchronizedMap(TLongCharMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TLongCharMap m = TCollections.synchronizedMap( new TLongCharHashMap() );
...
TLongSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TLongIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TByteDoubleMapsynchronizedMap(TByteDoubleMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TByteDoubleMap m = TCollections.synchronizedMap( new TByteDoubleHashMap() );
...
TByteSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TByteIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TByteFloatMapsynchronizedMap(TByteFloatMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TByteFloatMap m = TCollections.synchronizedMap( new TByteFloatHashMap() );
...
TByteSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TByteIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TByteIntMapsynchronizedMap(TByteIntMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TByteIntMap m = TCollections.synchronizedMap( new TByteIntHashMap() );
...
TByteSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TByteIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TByteLongMapsynchronizedMap(TByteLongMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TByteLongMap m = TCollections.synchronizedMap( new TByteLongHashMap() );
...
TByteSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TByteIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TByteByteMapsynchronizedMap(TByteByteMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TByteByteMap m = TCollections.synchronizedMap( new TByteByteHashMap() );
...
TByteSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TByteIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TByteShortMapsynchronizedMap(TByteShortMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TByteShortMap m = TCollections.synchronizedMap( new TByteShortHashMap() );
...
TByteSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TByteIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TByteCharMapsynchronizedMap(TByteCharMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TByteCharMap m = TCollections.synchronizedMap( new TByteCharHashMap() );
...
TByteSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TByteIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TShortDoubleMapsynchronizedMap(TShortDoubleMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TShortDoubleMap m = TCollections.synchronizedMap( new TShortDoubleHashMap() );
...
TShortSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TShortIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TShortFloatMapsynchronizedMap(TShortFloatMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TShortFloatMap m = TCollections.synchronizedMap( new TShortFloatHashMap() );
...
TShortSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TShortIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TShortIntMapsynchronizedMap(TShortIntMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TShortIntMap m = TCollections.synchronizedMap( new TShortIntHashMap() );
...
TShortSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TShortIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TShortLongMapsynchronizedMap(TShortLongMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TShortLongMap m = TCollections.synchronizedMap( new TShortLongHashMap() );
...
TShortSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TShortIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TShortByteMapsynchronizedMap(TShortByteMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TShortByteMap m = TCollections.synchronizedMap( new TShortByteHashMap() );
...
TShortSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TShortIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TShortShortMapsynchronizedMap(TShortShortMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TShortShortMap m = TCollections.synchronizedMap( new TShortShortHashMap() );
...
TShortSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TShortIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TShortCharMapsynchronizedMap(TShortCharMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TShortCharMap m = TCollections.synchronizedMap( new TShortCharHashMap() );
...
TShortSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TShortIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TCharDoubleMapsynchronizedMap(TCharDoubleMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TCharDoubleMap m = TCollections.synchronizedMap( new TCharDoubleHashMap() );
...
TCharSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TCharIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TCharFloatMapsynchronizedMap(TCharFloatMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TCharFloatMap m = TCollections.synchronizedMap( new TCharFloatHashMap() );
...
TCharSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TCharIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TCharIntMapsynchronizedMap(TCharIntMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TCharIntMap m = TCollections.synchronizedMap( new TCharIntHashMap() );
...
TCharSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TCharIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TCharLongMapsynchronizedMap(TCharLongMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TCharLongMap m = TCollections.synchronizedMap( new TCharLongHashMap() );
...
TCharSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TCharIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TCharByteMapsynchronizedMap(TCharByteMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TCharByteMap m = TCollections.synchronizedMap( new TCharByteHashMap() );
...
TCharSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TCharIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TCharShortMapsynchronizedMap(TCharShortMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TCharShortMap m = TCollections.synchronizedMap( new TCharShortHashMap() );
...
TCharSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TCharIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static TCharCharMapsynchronizedMap(TCharCharMap m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TCharCharMap m = TCollections.synchronizedMap( new TCharCharHashMap() );
...
TCharSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TCharIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <V> TDoubleObjectMap<V> synchronizedMap(TDoubleObjectMap <V> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TDoubleObjectMap m = TCollections.synchronizedMap( new TDoubleObjectHashMap() );
...
TDoubleSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TDoubleIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <V> TFloatObjectMap<V> synchronizedMap(TFloatObjectMap <V> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TFloatObjectMap m = TCollections.synchronizedMap( new TFloatObjectHashMap() );
...
TFloatSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TFloatIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <V> TIntObjectMap<V> synchronizedMap(TIntObjectMap <V> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TIntObjectMap m = TCollections.synchronizedMap( new TIntObjectHashMap() );
...
TIntSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TIntIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <V> TLongObjectMap<V> synchronizedMap(TLongObjectMap <V> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TLongObjectMap m = TCollections.synchronizedMap( new TLongObjectHashMap() );
...
TLongSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TLongIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <V> TByteObjectMap<V> synchronizedMap(TByteObjectMap <V> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TByteObjectMap m = TCollections.synchronizedMap( new TByteObjectHashMap() );
...
TByteSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TByteIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <V> TShortObjectMap<V> synchronizedMap(TShortObjectMap <V> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TShortObjectMap m = TCollections.synchronizedMap( new TShortObjectHashMap() );
...
TShortSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TShortIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <V> TCharObjectMap<V> synchronizedMap(TCharObjectMap <V> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TCharObjectMap m = TCollections.synchronizedMap( new TCharObjectHashMap() );
...
TCharSet s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
TCharIterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <K> TObjectDoubleMap<K> synchronizedMap(TObjectDoubleMap <K> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TObjectDoubleMap m = TCollections.synchronizedMap( new TObjectDoubleHashMap() );
...
Set s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
Iterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <K> TObjectFloatMap<K> synchronizedMap(TObjectFloatMap <K> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TObjectFloatMap m = TCollections.synchronizedMap( new TObjectFloatHashMap() );
...
Set s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
Iterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <K> TObjectIntMap<K> synchronizedMap(TObjectIntMap <K> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TObjectIntMap m = TCollections.synchronizedMap( new TObjectIntHashMap() );
...
Set s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
Iterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <K> TObjectLongMap<K> synchronizedMap(TObjectLongMap <K> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TObjectLongMap m = TCollections.synchronizedMap( new TObjectLongHashMap() );
...
Set s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
Iterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <K> TObjectByteMap<K> synchronizedMap(TObjectByteMap <K> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TObjectByteMap m = TCollections.synchronizedMap( new TObjectByteHashMap() );
...
Set s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
Iterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <K> TObjectShortMap<K> synchronizedMap(TObjectShortMap <K> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TObjectShortMap m = TCollections.synchronizedMap( new TObjectShortHashMap() );
...
Set s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
Iterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.
public static <K> TObjectCharMap<K> synchronizedMap(TObjectCharMap <K> m)
It is imperative that the user manually synchronize on the returned map when iterating over any of its collection views:
TObjectCharMap m = TCollections.synchronizedMap( new TObjectCharHashMap() );
...
Set s = m.keySet(); // Needn't be in synchronized block
...
synchronized( m ) { // Synchronizing on m, not s!
Iterator i = s.iterator(); // Must be in synchronized block
while ( i.hasNext() )
foo( i.next() );
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is serializable.
m - the map to be "wrapped" in a synchronized map.