Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
G
H
I
M
N
R
S
A
addCandidate(Object)
- Method in class cosmic.util.
Adjudicator
Adds a candidate for selection
addToSequence(double)
- Method in class cosmic.util.
SequenceAverager
Adds a value to the sequence
addToSequence(int)
- Method in class cosmic.util.
SequenceAverager
Adds a value to the sequence
Adjudicator
- class cosmic.util.
Adjudicator
.
A class for choosing the 'best' among several candidates according to some user-supplied criterion, with ties resolved randomly.
Adjudicator()
- Constructor for class cosmic.util.
Adjudicator
Private constructor for the class Adjudicator
C
cosmic.util
- package cosmic.util
D
Date
- class cosmic.util.
Date
.
Class with date methods to convert between Julian day and Gregorian date.
Date()
- Constructor for class cosmic.util.
Date
Private constructor for the Date class (objects of class Date should never be constructed)
dropAll
- Static variable in class cosmic.util.
Adjudicator
Constant to denote dropping all candidates when releasing Adjudicator instance
dropLosers
- Static variable in class cosmic.util.
Adjudicator
Constant to denote dropping losing candidates when releasing Adjudicator instance
dropNone
- Static variable in class cosmic.util.
Adjudicator
Constant to denote dropping no candidates when releasing Adjudicator instance
G
getAverage()
- Method in class cosmic.util.
SequenceAverager
Efficiently gets the average over the specified last number of values (If the sequence is not long enough the average over the entire available sequence is returned)
getAverageOverSequence(int, int)
- Method in class cosmic.util.
SequenceAverager
Gets the average over the specified sequence (this method involves iteration over the entire list and is consequently inefficient)
getDoubleFromString(String)
- Static method in class cosmic.util.
Misc
Gets a double from the specified string
getDoubleFromStringInInterval(String, double, double, boolean, boolean)
- Static method in class cosmic.util.
Misc
Gets a double from the specified string in the specified interval
getDoubleFromStringWithLowerBound(String, double, boolean)
- Static method in class cosmic.util.
Misc
Gets a double from the specified string with the specified lower bound
getDoubleFromStringWithUpperBound(String, double, boolean)
- Static method in class cosmic.util.
Misc
Gets a double from the specified string with the specified upper bound
getEntireSequenceAverage()
- Method in class cosmic.util.
SequenceAverager
Efficiently gets the average over the entire sequence
getEntireSequenceLength()
- Method in class cosmic.util.
SequenceAverager
Gets the length of the entire sequence
getEntireSequenceTotal()
- Method in class cosmic.util.
SequenceAverager
Gets the total of the entire sequence
getFirstChildElementNode(Node)
- Static method in class cosmic.util.
Misc
Gets the first child element node of the given input node in a DOM document
getFreeInstance(String, boolean)
- Static method in class cosmic.util.
Adjudicator
Gets an unused instance of the class Adjudicator for adjudication according to the supplied criteria
getGregorianDate(int)
- Static method in class cosmic.util.
Date
Converts Julian Day into Gregorian Date integer in format "yyyymmdd"
getIntegerFromString(String)
- Static method in class cosmic.util.
Misc
Gets an integer from the specified string
getIntegerFromStringInInterval(String, int, int, boolean, boolean)
- Static method in class cosmic.util.
Misc
Gets an integer from the specified string in the specified interval
getIntegerFromStringWithLowerBound(String, int, boolean)
- Static method in class cosmic.util.
Misc
Gets an integer from the specified string with the specified lower bound
getIntegerFromStringWithUpperBound(String, int, boolean)
- Static method in class cosmic.util.
Misc
Gets an integer from the specified string with the specified upper bound
getIntFromTwosComplementString(String)
- Static method in class cosmic.util.
Misc
Converts a binary string in two's complement into an integer
getIteratorOnCandidates()
- Method in class cosmic.util.
Adjudicator
Gets an iterator over the candidates in the Adjudicator
getJulianDay(int)
- Static method in class cosmic.util.
Date
Converts Gregorian Date into Julian Day
getNextElementNode(Node)
- Static method in class cosmic.util.
Misc
Gets the next element node after the given input node in a DOM document
getNodeReadingName()
- Static method in class cosmic.util.
Misc
Gets the name of the node currently being read in a DOM document
getSequenceLength()
- Method in class cosmic.util.
SequenceAverager
Gets the length of the sequence
getTwosComplementString(int, int)
- Static method in class cosmic.util.
Misc
Converts a source integer to a binary string in two's complement
getWinner()
- Method in class cosmic.util.
Adjudicator
Gets the winner of the adjudication (multiple calls will all return the same winner)
H
hasNext()
- Method in class cosmic.util.
ImmutableIterator
Returns true if the iterator has more elements.
I
ImmutableIterator
- class cosmic.util.
ImmutableIterator
.
A class of iterator that does not allow modification of the underlying collection.
ImmutableIterator(Iterator)
- Constructor for class cosmic.util.
ImmutableIterator
Constructor for the ImmutableIterator class
M
mAverageSequence
- Variable in class cosmic.util.
SequenceAverager
The sequence to be averaged over
mAverageSequenceLength
- Variable in class cosmic.util.
SequenceAverager
The length of the sequence over which averages should be calculated
mBestDouble
- Variable in class cosmic.util.
Adjudicator
The best double value found so far
mBestInt
- Variable in class cosmic.util.
Adjudicator
The best int value found so far
mCandidates
- Variable in class cosmic.util.
Adjudicator
The list of candidates to be chosen between
mClass
- Variable in class cosmic.util.
Adjudicator
The class of candidates to be chosen between
mFullSequenceLength
- Variable in class cosmic.util.
SequenceAverager
The length of the full sequence
mFullSequenceTotal
- Variable in class cosmic.util.
SequenceAverager
The total of the full sequence
Misc
- class cosmic.util.
Misc
.
General utility class with various value conversion and input methods.
Misc()
- Constructor for class cosmic.util.
Misc
Private constructor for Misc class to prevent instantiation of Misc objects
mIterator
- Variable in class cosmic.util.
ImmutableIterator
The iterator that the immutable iterator uses
mLastCalculatedTotal
- Variable in class cosmic.util.
SequenceAverager
The total calculated before averaging when getAverage() was last called
mLowestWins
- Variable in class cosmic.util.
Adjudicator
The flag that indicates if the winner is the lowest or highest value (true = lowest, false = highest)
mMessageProbe
- Variable in class cosmic.util.
Adjudicator
The message probe used to determine the winner
mMessageProbeString
- Variable in class cosmic.util.
Adjudicator
The name of the message probe used to determine the winner
mNumValuesAddedSinceLastGetAverage
- Variable in class cosmic.util.
SequenceAverager
The number of values added since the last time getAverage() was called
msDistribution
- Static variable in class cosmic.util.
Adjudicator
Random number generator for all instances of adjudicator
mSequenceHistory
- Variable in class cosmic.util.
SequenceAverager
The history of the sequence prior to the sequence currently being averaged over
msInstances
- Static variable in class cosmic.util.
Adjudicator
Instances of the Adjudicator class
msNodeReading
- Static variable in class cosmic.util.
Misc
The node currently being read in a DOM document (for error reporting)
msUnusedInstances
- Static variable in class cosmic.util.
Adjudicator
Unused instances of the Adjudicator class
mTiedCandidates
- Variable in class cosmic.util.
Adjudicator
The list of candidates that are tied
mUseable
- Variable in class cosmic.util.
Adjudicator
The flag that indicates if the instantiation is useable
mWinner
- Variable in class cosmic.util.
Adjudicator
The winner of the adjudication
N
next()
- Method in class cosmic.util.
ImmutableIterator
Returns the next element in the iteration
R
releaseInstance(int)
- Method in class cosmic.util.
Adjudicator
Releases the Adjudicator instantiation for re-use
remove()
- Method in class cosmic.util.
ImmutableIterator
Removal through an immutable iterator is not permitted
S
SequenceAverager
- class cosmic.util.
SequenceAverager
.
A class for efficiently averaging over a set number of the most recent values in a continuous sequence.
SequenceAverager(int)
- Constructor for class cosmic.util.
SequenceAverager
SequenceAverager constructor
A
C
D
G
H
I
M
N
R
S
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes