com.rubecula.darwin.examples.pepperedmoth
Class ApplicationDefinitions_
java.lang.Object
com.rubecula.darwin.examples.pepperedmoth.ApplicationDefinitions_
- Direct Known Subclasses:
- ApplicationDefinitions
public abstract class ApplicationDefinitions_
- extends java.lang.Object
- Author:
- Robin Hillyard
TODO this class is obsolete but still used in unit tests.
Field Summary |
static int |
$IdealPopulationDefault
The default value for the ideal population value: 50. |
static int |
$SeedPopulationDefault
This defines the default value of the seed population: 20 |
static int |
$SeedPopulationRatio
This defines the default value of the seed population in terms of its
ratio to the ideal population: 5 |
Method Summary |
static int |
LookupIndex(java.lang.String key,
java.lang.String[] keys)
Method to look up a String (key) from a list of Strings (keys). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
$IdealPopulationDefault
public static final int $IdealPopulationDefault
- The default value for the ideal population value: 50.
- See Also:
- Constant Field Values
$SeedPopulationRatio
public static int $SeedPopulationRatio
- This defines the default value of the seed population in terms of its
ratio to the ideal population: 5
$SeedPopulationDefault
public static int $SeedPopulationDefault
- This defines the default value of the seed population: 20
ApplicationDefinitions_
public ApplicationDefinitions_()
LookupIndex
public static int LookupIndex(java.lang.String key,
java.lang.String[] keys)
- Method to look up a String (key) from a list of Strings (keys).
- Parameters:
key
- the String to be looked up.keys
- the array of Strings.
- Returns:
- the index of the first matching key (if exists), else -1 for no
match.
Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.