public class SCollection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SCollection.DebugPrinter
Create an info printer for the collections.
|
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG |
Constructor and Description |
---|
SCollection() |
Modifier and Type | Method and Description |
---|---|
static List |
concurrencyCheckingList(List list)
Wrap a list for concurrency checking.
|
static ArrayList |
createArrayList()
Return a fresh array list.
|
static FastHashMap |
createFastHashMap()
Return a fresh hash map.
|
static <T,E> HashMap<T,E> |
createHashMap()
Return a fresh hash map.
|
static HashSet |
createHashSet()
Return a hash set.
|
static Hashtable |
createHashtable()
Return a fresh hashtable.
|
static IndexMap |
createIndexMap()
Return a fresh index map.
|
static <T,E> HashMap<T,E> |
createLinkedHashMap()
Return a fresh linked hash map.
|
static <T> LinkedHashSet<T> |
createLinkedHashSet()
Return a linked hash set.
|
static LinkedList |
createLinkedList()
Return a fresh linked list.
|
static <T,E> LRU<T,E> |
createLRU(int max)
Return a fresh linked hash map.
|
static MultiCollection |
createMultiCollection()
Return a fresh multi collection.
|
static NestedMap |
createNestedMap(Map map)
Return a linked hash set.
|
static NestedMap |
createNestedMap(Map[] map)
Return a linked hash set.
|
static Vector |
createVector()
Return a fresh vector.
|
static WeakHashMap |
createWeakHashMap()
Return a fresh weak hash map.
|
static WeakList |
createWeakList()
Return a fresh weak list.
|
static WeakSet |
createWeakSet()
Return a fresh weak set.
|
static void |
main(String[] args) |
public static final boolean DEBUG
public static IndexMap createIndexMap()
public static Hashtable createHashtable()
public static <T,E> HashMap<T,E> createHashMap()
public static <T,E> HashMap<T,E> createLinkedHashMap()
public static <T,E> LRU<T,E> createLRU(int max)
public static FastHashMap createFastHashMap()
public static MultiCollection createMultiCollection()
public static WeakHashMap createWeakHashMap()
public static WeakList createWeakList()
public static WeakSet createWeakSet()
public static ArrayList createArrayList()
public static LinkedList createLinkedList()
public static Vector createVector()
public static HashSet createHashSet()
public static <T> LinkedHashSet<T> createLinkedHashSet()
public static List concurrencyCheckingList(List list)
public static void main(String[] args) throws InterruptedException
InterruptedException
Copyright © 2012. All Rights Reserved.