ukacgla_HTMLMulti
Class TestRandomiser

java.lang.Object
  |
  +--ukacgla_HTMLMulti.TestRandomiser

public class TestRandomiser
extends java.lang.Object

This class constructs an object whose sole purpose is to randomly re arrange the elements of a vector, without altering the elements themselves.


Constructor Summary
TestRandomiser(int n)
           
 
Method Summary
protected  java.util.Vector randomise(java.util.Vector original)
          Copies the elements of a vector into a new Vector, then returns the vector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRandomiser

public TestRandomiser(int n)
Method Detail

randomise

protected java.util.Vector randomise(java.util.Vector original)
Copies the elements of a vector into a new Vector, then returns the vector. The returned Vector has the same elements, but in a different order