com.rubecula.darwin.core
Class Allele_Default
java.lang.Object
com.rubecula.util.AuditableObject
com.rubecula.darwin.core.Attribute_Abstract
com.rubecula.darwin.core.Allele_Abstract
com.rubecula.darwin.core.Allele_Default
- All Implemented Interfaces:
- Allele, Attribute, Auditable, Identifiable, Cloneable
public final class Allele_Default
- extends Allele_Abstract
A trivial implementation of Allele
which models two competing alleles: A and B.
- Author:
- Robin
|
Field Summary |
(package private) static String[] |
$S_Alleles
This array of strings defines the possible values of an allele:
A
B
|
$S_Alleles
static final String[] $S_Alleles
- This array of strings defines the possible values of an allele:
Allele_Default
public Allele_Default(int which)
- Constructor for Allele_Default
- Parameters:
which - either 0 for the "A" allele, or 1 for the "B" allele.
If which is out of range, an exception will be thrown.
Allele_Default
public Allele_Default(Object value)
- Constructor for Allele_Default
- Parameters:
value - any value.
Allele_Default
public Allele_Default(Object key,
Object value)