FileDocCategorySizeDatePackage
Synchronization.javaAPI DocExample2839Mon Apr 06 18:10:26 BST 1998c08.newcollections

Synchronization

public class Synchronization extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    Collection c = 
      Collections.synchronizedCollection(
        new ArrayList());
    List list = Collections.synchronizedList(
      new ArrayList());
    Set s = Collections.synchronizedSet(
      new HashSet());
    Map m = Collections.synchronizedMap(
      new HashMap());