|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectima.uco.fr.nuit.solchecker.Encart
public class Encart
Models a solution for the "Encart" problem
Constructor Summary | |
---|---|
Encart()
Class constructor |
|
Encart(int[][] encart)
Class constructor |
Method Summary | |
---|---|
int |
getSize()
|
int |
getValue(int row,
int column)
Returns the value of a profile (i.e., male or female) |
void |
setValue(int row,
int column,
int value)
sets the value of a profile |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Encart()
public Encart(int[][] encart)
encart
- an encartMethod Detail |
---|
public void setValue(int row, int column, int value) throws java.lang.IllegalArgumentException
row
- the row indexcolumn
- the column index
java.lang.IllegalArgumentException
public int getValue(int row, int column)
row
- the row indexcolumn
- the column index
public int getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |