Jadex 0.96-beta1

jadex.util.collection
Class SCollection

java.lang.Object
  extended by jadex.util.collection.SCollection

public class SCollection
extends Object

Static methods for collection creation and observation.


Nested Class Summary
static class SCollection.DebugPrinter
          Create an info printer for the collections.
 
Field Summary
static boolean DEBUG
           
 
Constructor Summary
SCollection()
           
 
Method Summary
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 HashMap 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 HashMap createLinkedHashMap()
          Return a fresh linked hash map.
static LinkedHashSet createLinkedHashSet()
          Return a linked hash set.
static LinkedList createLinkedList()
          Return a fresh linked list.
static LRU 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

SCollection

public SCollection()
Method Detail

createIndexMap

public static IndexMap createIndexMap()
Return a fresh index map.


createHashtable

public static Hashtable createHashtable()
Return a fresh hashtable.


createHashMap

public static HashMap createHashMap()
Return a fresh hash map.


createLinkedHashMap

public static HashMap createLinkedHashMap()
Return a fresh linked hash map.


createLRU

public static LRU createLRU(int max)
Return a fresh linked hash map.


createFastHashMap

public static FastHashMap createFastHashMap()
Return a fresh hash map.


createMultiCollection

public static MultiCollection createMultiCollection()
Return a fresh multi collection.


createWeakHashMap

public static WeakHashMap createWeakHashMap()
Return a fresh weak hash map.


createWeakList

public static WeakList createWeakList()
Return a fresh weak list.


createWeakSet

public static WeakSet createWeakSet()
Return a fresh weak set.


createArrayList

public static ArrayList createArrayList()
Return a fresh array list.


createLinkedList

public static LinkedList createLinkedList()
Return a fresh linked list.


createVector

public static Vector createVector()
Return a fresh vector.


createHashSet

public static HashSet createHashSet()
Return a hash set.


createLinkedHashSet

public static LinkedHashSet createLinkedHashSet()
Return a linked hash set.


createNestedMap

public static NestedMap createNestedMap(Map map)
Return a linked hash set.


createNestedMap

public static NestedMap createNestedMap(Map[] map)
Return a linked hash set.


concurrencyCheckingList

public static List concurrencyCheckingList(List list)
Wrap a list for concurrency checking.


main

public static void main(String[] args)
                 throws InterruptedException
Throws:
InterruptedException

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.