|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Chromosome
Chromosome
represents a collection of Genes
. A chromosome
object my represent either the default
chromosome or an "instance" chromosome. The
set of genes in an instance chromosome is considered to be the union of genes in both the instance and default
chromosomes, and genes in the instance chromosome override genes from the default chromosome.
Nested Class Summary | |
---|---|
static class |
Chromosome.Source
Enumeration of the possible sources for the chromosome. |
Field Summary | |
---|---|
static String |
DEFAULT_NAME
Name of the default chromosome. |
Method Summary | |
---|---|
boolean |
containsGene(String name)
Indicates whether the instance or default chromosome contains a gene with the specified name. |
Gene |
getGene(String name)
Returns the specified gene if it exists in either the instance or default chromosomes. |
Set<String> |
getGeneNames()
Returns a collection of all gene names, which is the union of gene names in instance and default chromosomes. |
String |
getName()
Returns the chromosome name. |
Chromosome.Source |
getSource()
Returns the chromosome source. |
Methods inherited from interface com.bea.netuix.laf.genes.ValueProvider |
---|
getValue |
Field Detail |
---|
static final String DEFAULT_NAME
Method Detail |
---|
Chromosome.Source getSource()
String getName()
Set<String> getGeneNames()
boolean containsGene(String name)
name
- The gene name
Gene getGene(String name)
name
- The gene name
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |