|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.cas.patterns.FinalPattern
public class FinalPattern
Final Pattern class holds a final pattern. This is little more than a dressed up vector of FPChrom (final pattern chromosome) objects.
| Constructor Summary | |
|---|---|
FinalPattern()
|
|
| Method Summary | |
|---|---|
boolean |
add(FPChrom chrom)
Method to add a final pattern chromosome |
java.util.Enumeration<FPChrom> |
fpchroms()
Returns an enumeration of the chromosomes. |
FPChrom |
getChrom(int index)
returns the chromosome at the specified index |
FPChrom |
removeChrom(int index)
remove the chromosome at the specified index. |
int |
size()
returns the number of final chromosomes |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FinalPattern()
| Method Detail |
|---|
public boolean add(FPChrom chrom)
chrom - final pattern chromosome to be added
public java.util.Enumeration<FPChrom> fpchroms()
public int size()
public FPChrom removeChrom(int index)
index -
public FPChrom getChrom(int index)
index -
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||