|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object demo.KirjeCla.HintaRivi
public static class KirjeCla.HintaRivi
HintaRivi-luokka postimaksua varten
Field Summary | |
---|---|
private double |
hinta
|
private int |
paino
|
Constructor Summary | |
---|---|
KirjeCla.HintaRivi(int paino,
double hinta)
Alustetaan yksi hintataulukon rivi |
Method Summary | |
---|---|
double |
getHinta()
Palautetaan rivin hinta |
int |
getPaino()
Palautetaan hintaa vastaava paino |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final int paino
private final double hinta
Constructor Detail |
---|
public KirjeCla.HintaRivi(int paino, double hinta)
paino
- hinta
- Method Detail |
---|
public double getHinta()
public int getPaino()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |