|
GNU Trove | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.trove.TCollections
public class TCollections
Trove equivalent of the Collections
class.
Method Summary | ||
---|---|---|
static TByteCollection |
synchronizedCollection(TByteCollection c)
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection. |
|
static TCharCollection |
synchronizedCollection(TCharCollection c)
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection. |
|
static TDoubleCollection |
synchronizedCollection(TDoubleCollection c)
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection. |
|
static TFloatCollection |
synchronizedCollection(TFloatCollection c)
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection. |
|
static TIntCollection |
synchronizedCollection(TIntCollection c)
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection. |
|
static TLongCollection |
synchronizedCollection(TLongCollection c)
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection. |
|
static TShortCollection |
synchronizedCollection(TShortCollection c)
Returns a synchronized (thread-safe) Trove collection backed by the specified Trove collection. |
|
static TByteList |
synchronizedList(TByteList list)
Returns a synchronized (thread-safe) Trove list backed by the specified list. |
|
static TCharList |
synchronizedList(TCharList list)
Returns a synchronized (thread-safe) Trove list backed by the specified list. |
|
static TDoubleList |
synchronizedList(TDoubleList list)
Returns a synchronized (thread-safe) Trove list backed by the specified list. |
|
static TFloatList |
synchronizedList(TFloatList list)
Returns a synchronized (thread-safe) Trove list backed by the specified list. |
|
static TIntList |
synchronizedList(TIntList list)
Returns a synchronized (thread-safe) Trove list backed by the specified list. |
|
static TLongList |
synchronizedList(TLongList list)
Returns a synchronized (thread-safe) Trove list backed by the specified list. |
|
static TShortList |
synchronizedList(TShortList list)
Returns a synchronized (thread-safe) Trove list backed by the specified list. |
|
static TByteByteMap |
synchronizedMap(TByteByteMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TByteCharMap |
synchronizedMap(TByteCharMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TByteDoubleMap |
synchronizedMap(TByteDoubleMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TByteFloatMap |
synchronizedMap(TByteFloatMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TByteIntMap |
synchronizedMap(TByteIntMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TByteLongMap |
synchronizedMap(TByteLongMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TByteObjectMap<V> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TByteShortMap |
synchronizedMap(TByteShortMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TCharByteMap |
synchronizedMap(TCharByteMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TCharCharMap |
synchronizedMap(TCharCharMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TCharDoubleMap |
synchronizedMap(TCharDoubleMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TCharFloatMap |
synchronizedMap(TCharFloatMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TCharIntMap |
synchronizedMap(TCharIntMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TCharLongMap |
synchronizedMap(TCharLongMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TCharObjectMap<V> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TCharShortMap |
synchronizedMap(TCharShortMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TDoubleByteMap |
synchronizedMap(TDoubleByteMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TDoubleCharMap |
synchronizedMap(TDoubleCharMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TDoubleDoubleMap |
synchronizedMap(TDoubleDoubleMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TDoubleFloatMap |
synchronizedMap(TDoubleFloatMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TDoubleIntMap |
synchronizedMap(TDoubleIntMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TDoubleLongMap |
synchronizedMap(TDoubleLongMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TDoubleObjectMap<V> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TDoubleShortMap |
synchronizedMap(TDoubleShortMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TFloatByteMap |
synchronizedMap(TFloatByteMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TFloatCharMap |
synchronizedMap(TFloatCharMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TFloatDoubleMap |
synchronizedMap(TFloatDoubleMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TFloatFloatMap |
synchronizedMap(TFloatFloatMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TFloatIntMap |
synchronizedMap(TFloatIntMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TFloatLongMap |
synchronizedMap(TFloatLongMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TFloatObjectMap<V> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TFloatShortMap |
synchronizedMap(TFloatShortMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TIntByteMap |
synchronizedMap(TIntByteMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TIntCharMap |
synchronizedMap(TIntCharMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TIntDoubleMap |
synchronizedMap(TIntDoubleMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TIntFloatMap |
synchronizedMap(TIntFloatMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TIntIntMap |
synchronizedMap(TIntIntMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TIntLongMap |
synchronizedMap(TIntLongMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TIntObjectMap<V> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TIntShortMap |
synchronizedMap(TIntShortMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TLongByteMap |
synchronizedMap(TLongByteMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TLongCharMap |
synchronizedMap(TLongCharMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TLongDoubleMap |
synchronizedMap(TLongDoubleMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TLongFloatMap |
synchronizedMap(TLongFloatMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TLongIntMap |
synchronizedMap(TLongIntMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TLongLongMap |
synchronizedMap(TLongLongMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TLongObjectMap<V> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TLongShortMap |
synchronizedMap(TLongShortMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TObjectByteMap<K> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TObjectCharMap<K> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TObjectDoubleMap<K> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TObjectFloatMap<K> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TObjectIntMap<K> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TObjectLongMap<K> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TObjectShortMap<K> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TShortByteMap |
synchronizedMap(TShortByteMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TShortCharMap |
synchronizedMap(TShortCharMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TShortDoubleMap |
synchronizedMap(TShortDoubleMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TShortFloatMap |
synchronizedMap(TShortFloatMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TShortIntMap |
synchronizedMap(TShortIntMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TShortLongMap |
synchronizedMap(TShortLongMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static
|
synchronizedMap(TShortObjectMap<V> m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TShortShortMap |
synchronizedMap(TShortShortMap m)
Returns a synchronized (thread-safe) Trove map backed by the specified map. |
|
static TByteSet |
synchronizedSet(TByteSet s)
Returns a synchronized (thread-safe) Trove set backed by the specified set. |
|
static TCharSet |
synchronizedSet(TCharSet s)
Returns a synchronized (thread-safe) Trove set backed by the specified set. |
|
static TDoubleSet |
synchronizedSet(TDoubleSet s)
Returns a synchronized (thread-safe) Trove set backed by the specified set. |
|
static TFloatSet |
synchronizedSet(TFloatSet s)
Returns a synchronized (thread-safe) Trove set backed by the specified set. |
|
static TIntSet |
synchronizedSet(TIntSet s)
Returns a synchronized (thread-safe) Trove set backed by the specified set. |
|
static TLongSet |
synchronizedSet(TLongSet s)
Returns a synchronized (thread-safe) Trove set backed by the specified set. |
|
static TShortSet |
synchronizedSet(TShortSet s)
Returns a synchronized (thread-safe) Trove set backed by the specified set. |
|
static TByteCollection |
unmodifiableCollection(TByteCollection c)
Returns an unmodifiable view of the specified Trove primitive collection. |
|
static TCharCollection |
unmodifiableCollection(TCharCollection c)
Returns an unmodifiable view of the specified Trove primitive collection. |
|
static TDoubleCollection |
unmodifiableCollection(TDoubleCollection c)
Returns an unmodifiable view of the specified Trove primitive collection. |
|
static TFloatCollection |
unmodifiableCollection(TFloatCollection c)
Returns an unmodifiable view of the specified Trove primitive collection. |
|
static TIntCollection |
unmodifiableCollection(TIntCollection c)
Returns an unmodifiable view of the specified Trove primitive collection. |
|
static TLongCollection |
unmodifiableCollection(TLongCollection c)
Returns an unmodifiable view of the specified Trove primitive collection. |
|
static TShortCollection |
unmodifiableCollection(TShortCollection c)
Returns an unmodifiable view of the specified Trove primitive collection. |
|
static TByteList |
unmodifiableList(TByteList list)
Returns an unmodifiable view of the specified Trove primitive list. |
|
static TCharList |
unmodifiableList(TCharList list)
Returns an unmodifiable view of the specified Trove primitive list. |
|
static TDoubleList |
unmodifiableList(TDoubleList list)
Returns an unmodifiable view of the specified Trove primitive list. |
|
static TFloatList |
unmodifiableList(TFloatList list)
Returns an unmodifiable view of the specified Trove primitive list. |
|
static TIntList |
unmodifiableList(TIntList list)
Returns an unmodifiable view of the specified Trove primitive list. |
|
static TLongList |
unmodifiableList(TLongList list)
Returns an unmodifiable view of the specified Trove primitive list. |
|
static TShortList |
unmodifiableList(TShortList list)
Returns an unmodifiable view of the specified Trove primitive list. |
|
static TByteByteMap |
unmodifiableMap(TByteByteMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TByteCharMap |
unmodifiableMap(TByteCharMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TByteDoubleMap |
unmodifiableMap(TByteDoubleMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TByteFloatMap |
unmodifiableMap(TByteFloatMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TByteIntMap |
unmodifiableMap(TByteIntMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TByteLongMap |
unmodifiableMap(TByteLongMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static
|
unmodifiableMap(TByteObjectMap<V> m)
Returns an unmodifiable view of the specified Trove primitive/Object map. |
|
static TByteShortMap |
unmodifiableMap(TByteShortMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TCharByteMap |
unmodifiableMap(TCharByteMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TCharCharMap |
unmodifiableMap(TCharCharMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TCharDoubleMap |
unmodifiableMap(TCharDoubleMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TCharFloatMap |
unmodifiableMap(TCharFloatMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TCharIntMap |
unmodifiableMap(TCharIntMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TCharLongMap |
unmodifiableMap(TCharLongMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static
|
unmodifiableMap(TCharObjectMap<V> m)
Returns an unmodifiable view of the specified Trove primitive/Object map. |
|
static TCharShortMap |
unmodifiableMap(TCharShortMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TDoubleByteMap |
unmodifiableMap(TDoubleByteMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TDoubleCharMap |
unmodifiableMap(TDoubleCharMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TDoubleDoubleMap |
unmodifiableMap(TDoubleDoubleMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TDoubleFloatMap |
unmodifiableMap(TDoubleFloatMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TDoubleIntMap |
unmodifiableMap(TDoubleIntMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TDoubleLongMap |
unmodifiableMap(TDoubleLongMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static
|
unmodifiableMap(TDoubleObjectMap<V> m)
Returns an unmodifiable view of the specified Trove primitive/Object map. |
|
static TDoubleShortMap |
unmodifiableMap(TDoubleShortMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TFloatByteMap |
unmodifiableMap(TFloatByteMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TFloatCharMap |
unmodifiableMap(TFloatCharMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TFloatDoubleMap |
unmodifiableMap(TFloatDoubleMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TFloatFloatMap |
unmodifiableMap(TFloatFloatMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TFloatIntMap |
unmodifiableMap(TFloatIntMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TFloatLongMap |
unmodifiableMap(TFloatLongMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static
|
unmodifiableMap(TFloatObjectMap<V> m)
Returns an unmodifiable view of the specified Trove primitive/Object map. |
|
static TFloatShortMap |
unmodifiableMap(TFloatShortMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TIntByteMap |
unmodifiableMap(TIntByteMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TIntCharMap |
unmodifiableMap(TIntCharMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TIntDoubleMap |
unmodifiableMap(TIntDoubleMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TIntFloatMap |
unmodifiableMap(TIntFloatMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TIntIntMap |
unmodifiableMap(TIntIntMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TIntLongMap |
unmodifiableMap(TIntLongMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static
|
unmodifiableMap(TIntObjectMap<V> m)
Returns an unmodifiable view of the specified Trove primitive/Object map. |
|
static TIntShortMap |
unmodifiableMap(TIntShortMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TLongByteMap |
unmodifiableMap(TLongByteMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TLongCharMap |
unmodifiableMap(TLongCharMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TLongDoubleMap |
unmodifiableMap(TLongDoubleMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TLongFloatMap |
unmodifiableMap(TLongFloatMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TLongIntMap |
unmodifiableMap(TLongIntMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TLongLongMap |
unmodifiableMap(TLongLongMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static
|
unmodifiableMap(TLongObjectMap<V> m)
Returns an unmodifiable view of the specified Trove primitive/Object map. |
|
static TLongShortMap |
unmodifiableMap(TLongShortMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static
|
unmodifiableMap(TObjectByteMap<K> m)
Returns an unmodifiable view of the specified Trove Object/primitive map. |
|
static
|
unmodifiableMap(TObjectCharMap<K> m)
Returns an unmodifiable view of the specified Trove Object/primitive map. |
|
static
|
unmodifiableMap(TObjectDoubleMap<K> m)
Returns an unmodifiable view of the specified Trove Object/primitive map. |
|
static
|
unmodifiableMap(TObjectFloatMap<K> m)
Returns an unmodifiable view of the specified Trove Object/primitive map. |
|
static
|
unmodifiableMap(TObjectIntMap<K> m)
Returns an unmodifiable view of the specified Trove Object/primitive map. |
|
static
|
unmodifiableMap(TObjectLongMap<K> m)
Returns an unmodifiable view of the specified Trove Object/primitive map. |
|
static
|
unmodifiableMap(TObjectShortMap<K> m)
Returns an unmodifiable view of the specified Trove Object/primitive map. |
|
static TShortByteMap |
unmodifiableMap(TShortByteMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TShortCharMap |
unmodifiableMap(TShortCharMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TShortDoubleMap |
unmodifiableMap(TShortDoubleMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TShortFloatMap |
unmodifiableMap(TShortFloatMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TShortIntMap |
unmodifiableMap(TShortIntMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TShortLongMap |
unmodifiableMap(TShortLongMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static
|
unmodifiableMap(TShortObjectMap<V> m)
Returns an unmodifiable view of the specified Trove primitive/Object map. |
|
static TShortShortMap |
unmodifiableMap(TShortShortMap m)
Returns an unmodifiable view of the specified Trove primitive/primitive map. |
|
static TByteSet |
unmodifiableSet(TByteSet s)
Returns an unmodifiable view of the specified Trove primitive set. |
|
static TCharSet |
unmodifiableSet(TCharSet s)
Returns an unmodifiable view of the specified Trove primitive set. |
|
static TDoubleSet |
unmodifiableSet(TDoubleSet s)
Returns an unmodifiable view of the specified Trove primitive set. |
|
static TFloatSet |
unmodifiableSet(TFloatSet s)
Returns an unmodifiable view of the specified Trove primitive set. |
|
static TIntSet |
unmodifiableSet(TIntSet s)
Returns an unmodifiable view of the specified Trove primitive set. |
|
static TLongSet |
unmodifiableSet(TLongSet s)
Returns an unmodifiable view of the specified Trove primitive set. |
|
static TShortSet |
unmodifiableSet(TShortSet s)
Returns an unmodifiable view of the specified Trove primitive set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TDoubleCollection unmodifiableCollection(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 TFloatCollection unmodifiableCollection(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 TIntCollection unmodifiableCollection(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 TLongCollection unmodifiableCollection(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 TByteCollection unmodifiableCollection(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 TShortCollection unmodifiableCollection(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 TCharCollection unmodifiableCollection(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 TDoubleSet unmodifiableSet(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 TFloatSet unmodifiableSet(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 TIntSet unmodifiableSet(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 TLongSet unmodifiableSet(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 TByteSet unmodifiableSet(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 TShortSet unmodifiableSet(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 TCharSet unmodifiableSet(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 TDoubleList unmodifiableList(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 TFloatList unmodifiableList(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 TIntList unmodifiableList(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 TLongList unmodifiableList(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 TByteList unmodifiableList(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 TShortList unmodifiableList(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 TCharList unmodifiableList(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 TDoubleDoubleMap unmodifiableMap(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 TDoubleFloatMap unmodifiableMap(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 TDoubleIntMap unmodifiableMap(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 TDoubleLongMap unmodifiableMap(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 TDoubleByteMap unmodifiableMap(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 TDoubleShortMap unmodifiableMap(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 TDoubleCharMap unmodifiableMap(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 TFloatDoubleMap unmodifiableMap(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 TFloatFloatMap unmodifiableMap(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 TFloatIntMap unmodifiableMap(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 TFloatLongMap unmodifiableMap(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 TFloatByteMap unmodifiableMap(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 TFloatShortMap unmodifiableMap(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 TFloatCharMap unmodifiableMap(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 TIntDoubleMap unmodifiableMap(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 TIntFloatMap unmodifiableMap(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 TIntIntMap unmodifiableMap(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 TIntLongMap unmodifiableMap(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 TIntByteMap unmodifiableMap(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 TIntShortMap unmodifiableMap(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 TIntCharMap unmodifiableMap(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 TLongDoubleMap unmodifiableMap(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 TLongFloatMap unmodifiableMap(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 TLongIntMap unmodifiableMap(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 TLongLongMap unmodifiableMap(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 TLongByteMap unmodifiableMap(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 TLongShortMap unmodifiableMap(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 TLongCharMap unmodifiableMap(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 TByteDoubleMap unmodifiableMap(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 TByteFloatMap unmodifiableMap(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 TByteIntMap unmodifiableMap(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 TByteLongMap unmodifiableMap(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 TByteByteMap unmodifiableMap(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 TByteShortMap unmodifiableMap(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 TByteCharMap unmodifiableMap(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 TShortDoubleMap unmodifiableMap(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 TShortFloatMap unmodifiableMap(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 TShortIntMap unmodifiableMap(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 TShortLongMap unmodifiableMap(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 TShortByteMap unmodifiableMap(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 TShortShortMap unmodifiableMap(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 TShortCharMap unmodifiableMap(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 TCharDoubleMap unmodifiableMap(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 TCharFloatMap unmodifiableMap(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 TCharIntMap unmodifiableMap(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 TCharLongMap unmodifiableMap(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 TCharByteMap unmodifiableMap(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 TCharShortMap unmodifiableMap(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 TCharCharMap unmodifiableMap(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 TDoubleCollection synchronizedCollection(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 TFloatCollection synchronizedCollection(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 TIntCollection synchronizedCollection(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 TLongCollection synchronizedCollection(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 TByteCollection synchronizedCollection(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 TShortCollection synchronizedCollection(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 TCharCollection synchronizedCollection(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 TDoubleSet synchronizedSet(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 TFloatSet synchronizedSet(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 TIntSet synchronizedSet(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 TLongSet synchronizedSet(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 TByteSet synchronizedSet(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 TShortSet synchronizedSet(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 TCharSet synchronizedSet(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 TDoubleList synchronizedList(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 TFloatList synchronizedList(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 TIntList synchronizedList(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 TLongList synchronizedList(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 TByteList synchronizedList(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 TShortList synchronizedList(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 TCharList synchronizedList(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 TDoubleDoubleMap synchronizedMap(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 TDoubleFloatMap synchronizedMap(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 TDoubleIntMap synchronizedMap(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 TDoubleLongMap synchronizedMap(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 TDoubleByteMap synchronizedMap(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 TDoubleShortMap synchronizedMap(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 TDoubleCharMap synchronizedMap(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 TFloatDoubleMap synchronizedMap(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 TFloatFloatMap synchronizedMap(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 TFloatIntMap synchronizedMap(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 TFloatLongMap synchronizedMap(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 TFloatByteMap synchronizedMap(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 TFloatShortMap synchronizedMap(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 TFloatCharMap synchronizedMap(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 TIntDoubleMap synchronizedMap(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 TIntFloatMap synchronizedMap(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 TIntIntMap synchronizedMap(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 TIntLongMap synchronizedMap(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 TIntByteMap synchronizedMap(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 TIntShortMap synchronizedMap(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 TIntCharMap synchronizedMap(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 TLongDoubleMap synchronizedMap(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 TLongFloatMap synchronizedMap(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 TLongIntMap synchronizedMap(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 TLongLongMap synchronizedMap(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 TLongByteMap synchronizedMap(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 TLongShortMap synchronizedMap(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 TLongCharMap synchronizedMap(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 TByteDoubleMap synchronizedMap(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 TByteFloatMap synchronizedMap(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 TByteIntMap synchronizedMap(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 TByteLongMap synchronizedMap(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 TByteByteMap synchronizedMap(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 TByteShortMap synchronizedMap(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 TByteCharMap synchronizedMap(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 TShortDoubleMap synchronizedMap(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 TShortFloatMap synchronizedMap(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 TShortIntMap synchronizedMap(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 TShortLongMap synchronizedMap(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 TShortByteMap synchronizedMap(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 TShortShortMap synchronizedMap(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 TShortCharMap synchronizedMap(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 TCharDoubleMap synchronizedMap(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 TCharFloatMap synchronizedMap(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 TCharIntMap synchronizedMap(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 TCharLongMap synchronizedMap(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 TCharByteMap synchronizedMap(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 TCharShortMap synchronizedMap(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 TCharCharMap synchronizedMap(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.
|
GNU Trove | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |