uk.ac.leeds.ccg.andyt.projects.moses.utilities
Class StaticCollections

java.lang.Object
  extended by uk.ac.leeds.ccg.andyt.projects.moses.utilities.StaticCollections

public class StaticCollections
extends java.lang.Object

A class for generic static methods that work on collections.


Constructor Summary
StaticCollections()
           
 
Method Summary
static java.util.HashSet getRandomIndexes_HashSet(java.util.Vector aVector, int aNumberOfIndexes, java.util.Random aRandom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticCollections

public StaticCollections()
Method Detail

getRandomIndexes_HashSet

public static java.util.HashSet getRandomIndexes_HashSet(java.util.Vector aVector,
                                                         int aNumberOfIndexes,
                                                         java.util.Random aRandom)