|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--pop.model.PopulationCharacteristics | +--pop.model.PopulationSizes
Age- and sex-specific population sizes.
Constructor Summary | |
PopulationSizes(int[][] sizes)
Basic constructor (one set of population sizes). |
|
PopulationSizes(PopulationSizes other)
Alternate constructor creates clone of sizes parameter. |
Method Summary | |
int |
size(int age,
int sex)
Returns age- and sex-specific population size. |
int[][] |
sizes()
Returns 2-dimensional array of population sizes by sex (first dimension, with females in the first row, males second row) and age (second dimension). |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public PopulationSizes(int[][] sizes)
sizes
- - 2-dimensional array of population sizes
by sex (first dimension, with females
in the first row, males second row) and
age (second dimension).public PopulationSizes(PopulationSizes other)
Method Detail |
public int size(int age, int sex)
age
- - 0 to maximum cohort age.sex
- - FEMALE or MALE, static constant
from Statics.public int[][] sizes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |