Chromosome objects.
| Modifier and Type | Field and Description |
|---|---|
| private final Chromosome | first
the first chromosome in the pair. |
| private final Chromosome | second
the second chromosome in the pair. |
| Access | Constructor and Description |
|---|---|
| public | ChromosomePair(final Chromosome
the first chromosome. c1, final Chromosome the second chromosome. c2)Create a chromosome pair. |
| Modifier and Type | Method and Description |
|---|---|
| public Chromosome | |
| public Chromosome | |
| public String |
| first | back to summary |
|---|---|
| private final Chromosome first the first chromosome in the pair. | |
| second | back to summary |
|---|---|
| private final Chromosome second the second chromosome in the pair. | |
| ChromosomePair | back to summary |
|---|---|
| public ChromosomePair(final Chromosome c1, final Chromosome c2) Create a chromosome pair.
| |
| getFirst | back to summary |
|---|---|
| public Chromosome getFirst() Access the first chromosome.
| |
| getSecond | back to summary |
|---|---|
| public Chromosome getSecond() Access the second chromosome.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |