|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.biology.Virus
public class Virus
A class representing a virus. Virus are not real "alive" cells. They normally do not contain DNA but RNA although this may happen. They invade cells and use them to reproduce.
| Field Summary | |
|---|---|
static int |
INVADING
DOCUMENT ME! |
static int |
LEAVING
DOCUMENT ME! |
static int |
MOVING
DOCUMENT ME! |
static int |
REPRODUCING
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
Virus(Genome genome)
Creates a new Virus object. |
|
Virus(Genome genome,
Alphabet coding)
Creates a new Virus object. |
|
| Method Summary | |
|---|---|
Virus |
clone()
DOCUMENT ME! |
Alphabet |
getCoding()
DOCUMENT ME! |
Disease |
getDisease()
DOCUMENT ME! |
Genome |
getGenome()
DOCUMENT ME! |
int |
getStage()
DOCUMENT ME! |
void |
nextStage()
DOCUMENT ME! |
Virus |
reproduce(Cell cell)
DOCUMENT ME! |
void |
setDisease(Disease disease)
DOCUMENT ME! |
void |
setStage(int stage)
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MOVING
public static final int INVADING
public static final int REPRODUCING
public static final int LEAVING
| Constructor Detail |
|---|
public Virus(Genome genome)
genome - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!
public Virus(Genome genome,
Alphabet coding)
genome - DOCUMENT ME!coding - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!| Method Detail |
|---|
public Genome getGenome()
public Alphabet getCoding()
public Disease getDisease()
public void setDisease(Disease disease)
disease - DOCUMENT ME!public int getStage()
public void setStage(int stage)
stage - DOCUMENT ME!public void nextStage()
public Virus clone()
clone in class java.lang.Objectpublic Virus reproduce(Cell cell)
cell - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||