com.rubecula.darwin.domain.helper
Interface Genes

All Superinterfaces:
Basic, CacheSignature, java.util.Collection<Gene>, java.lang.Iterable<Gene>, java.util.List<Gene>
All Known Subinterfaces:
Genome, Genotype
All Known Implementing Classes:
Genome_, Genome_Linear, Genotype_

public interface Genes
extends java.util.List<Gene>, Basic

This interface represents the read-only aspects of (possibly a subset of) a Genome, although the Ploidy is not included here. TODO consider renaming this family of types as Genome...

Author:
Robin Hillyard

Method Summary
 Gene getGene(int locus)
           
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 
Methods inherited from interface com.rubecula.darwin.domain.helper.Basic
getBases
 
Methods inherited from interface com.rubecula.darwin.domain.helper.CacheSignature
getSignature
 

Method Detail

getGene

Gene getGene(int locus)
Parameters:
locus - an integer from 0...
Returns:
the Gene at the specified locus position.


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.