@NotStorableClass @StorableAccess public final class PCollections extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Queue<T> |
asLifoQueue(IInstanceFactory instanceFactory,
Deque<T> deque) |
static <T> List<T> |
emptyList(IInstanceFactory instanceFactory) |
static <K,V> Map<K,V> |
emptyMap(IInstanceFactory instanceFactory) |
static <T> Set<T> |
emptySet(IInstanceFactory instanceFactory) |
static <T> List<T> |
nCopies(IInstanceFactory instanceFactory,
int numberOfElement,
T element) |
static <E> Set<E> |
newSetFromMap(IInstanceFactory instanceFactory,
Map<E,Boolean> map) |
static <T> Set<T> |
singleton(IInstanceFactory instanceFactory,
T element) |
static <T> List<T> |
singletonList(IInstanceFactory instanceFactory,
T element) |
static <K,V> Map<K,V> |
singletonMap(IInstanceFactory instanceFactory,
K key,
V value) |
static <T> Collection<T> |
synchronizedCollection(IInstanceFactory instanceFactory,
Collection<T> collection) |
static <T> Collection<T> |
synchronizedCollection(IInstanceFactory instanceFactory,
Collection<T> collection,
Object mutex) |
static <T> List<T> |
synchronizedList(IInstanceFactory instanceFactory,
List<T> list) |
static <T> List<T> |
synchronizedList(IInstanceFactory instanceFactory,
List<T> list,
Object mutex) |
static <K,V> Map<K,V> |
synchronizedMap(IInstanceFactory instanceFactory,
Map<K,V> map) |
static <T> Set<T> |
synchronizedSet(IInstanceFactory instanceFactory,
Set<T> set) |
static <T> Set<T> |
synchronizedSet(IInstanceFactory instanceFactory,
Set<T> set,
Object mutex) |
static <K,V> SortedMap<K,V> |
synchronizedSortedMap(IInstanceFactory instanceFactory,
SortedMap<K,V> map) |
static <T> SortedSet<T> |
synchronizedSortedSet(IInstanceFactory instanceFactory,
SortedSet<T> set) |
static <T> Collection<T> |
unmodifiableCollection(IInstanceFactory instanceFactory,
Collection<? extends T> collection) |
static <T> List<T> |
unmodifiableList(IInstanceFactory instanceFactory,
List<? extends T> list) |
static <K,V> Map<K,V> |
unmodifiableMap(IInstanceFactory instanceFactory,
Map<? extends K,? extends V> map) |
static <T> Set<T> |
unmodifiableSet(IInstanceFactory instanceFactory,
Set<? extends T> set) |
static <K,V> SortedMap<K,V> |
unmodifiableSortedMap(IInstanceFactory instanceFactory,
SortedMap<K,? extends V> map) |
static <T> SortedSet<T> |
unmodifiableSortedSet(IInstanceFactory instanceFactory,
SortedSet<T> set) |
public static <T> Collection<T> unmodifiableCollection(IInstanceFactory instanceFactory, Collection<? extends T> collection)
public static <T> Set<T> unmodifiableSet(IInstanceFactory instanceFactory, Set<? extends T> set)
public static <T> SortedSet<T> unmodifiableSortedSet(IInstanceFactory instanceFactory, SortedSet<T> set)
public static <T> List<T> unmodifiableList(IInstanceFactory instanceFactory, List<? extends T> list)
public static <K,V> Map<K,V> unmodifiableMap(IInstanceFactory instanceFactory, Map<? extends K,? extends V> map)
public static <K,V> SortedMap<K,V> unmodifiableSortedMap(IInstanceFactory instanceFactory, SortedMap<K,? extends V> map)
public static <T> Collection<T> synchronizedCollection(IInstanceFactory instanceFactory, Collection<T> collection)
public static <T> Collection<T> synchronizedCollection(IInstanceFactory instanceFactory, Collection<T> collection, Object mutex)
public static <T> Set<T> synchronizedSet(IInstanceFactory instanceFactory, Set<T> set)
public static <T> Set<T> synchronizedSet(IInstanceFactory instanceFactory, Set<T> set, Object mutex)
public static <T> SortedSet<T> synchronizedSortedSet(IInstanceFactory instanceFactory, SortedSet<T> set)
public static <T> List<T> synchronizedList(IInstanceFactory instanceFactory, List<T> list)
public static <T> List<T> synchronizedList(IInstanceFactory instanceFactory, List<T> list, Object mutex)
public static <K,V> Map<K,V> synchronizedMap(IInstanceFactory instanceFactory, Map<K,V> map)
public static <K,V> SortedMap<K,V> synchronizedSortedMap(IInstanceFactory instanceFactory, SortedMap<K,V> map)
public static <T> Set<T> emptySet(IInstanceFactory instanceFactory)
public static <T> List<T> emptyList(IInstanceFactory instanceFactory)
public static <K,V> Map<K,V> emptyMap(IInstanceFactory instanceFactory)
public static <T> Set<T> singleton(IInstanceFactory instanceFactory, T element)
public static <T> List<T> singletonList(IInstanceFactory instanceFactory, T element)
public static <K,V> Map<K,V> singletonMap(IInstanceFactory instanceFactory, K key, V value)
public static <T> List<T> nCopies(IInstanceFactory instanceFactory, int numberOfElement, T element)
public static <E> Set<E> newSetFromMap(IInstanceFactory instanceFactory, Map<E,Boolean> map)
public static <T> Queue<T> asLifoQueue(IInstanceFactory instanceFactory, Deque<T> deque)
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.