|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--coreComponents.GeneralUtils
Class for keeping lots of useful functions that I like a lot.
Constructor Summary | |
GeneralUtils()
|
Method Summary | |
static int |
getRankOfAnIndexedDoubles(int chosenIndex,
double[] doubleList)
Gets the ranking of a particular index in an indexed list of doubles sorts the values from lowest to highest |
static DoubleWithIndex[] |
sortIndexedDoubles(double[] doubleList)
Sorts and indexed array of doubles returns array from lowest to highest |
static DoubleWithIndex[] |
sortIndexedDoubles(DoubleWithIndex[] doubleList)
Sorts and indexed array of doubles returns array from lowest to highest |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GeneralUtils()
Method Detail |
public static int getRankOfAnIndexedDoubles(int chosenIndex, double[] doubleList)
public static DoubleWithIndex[] sortIndexedDoubles(double[] doubleList)
public static DoubleWithIndex[] sortIndexedDoubles(DoubleWithIndex[] doubleList)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London