FileDocCategorySizeDatePackage
Shuffling1.javaAPI DocExample606Sat Sep 12 03:01:00 BST 1998None

Shuffling1

public class Shuffling1 extends Object
Shuffling a JGL container.
see
com.objectspace.jgl.algorithms.Shuffling
version
3.0.0
author
ObjectSpace, Inc.

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

    Array array = new Array();
    for ( int i = 0; i < 10; i++ )
      array.add( new Integer( i ) );
    System.out.println( "array = " + array );
    Shuffling.randomShuffle( array );
    System.out.println( "after shuffle = " + array );