|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.gotdns.jimula.EatHealthy.Milk
Milk is an object which contain it's nutrien, includes protein, carbohydrate, fat, and calories.
EatHealthy
A simple personal nutrient need and food serving calculator
Copyright (c) 2003
Field Summary | |
int |
calories
calories contents of one milk's serving |
static int |
carb
carbohydrate contents of one milk's serving |
int |
fat
fat contents of one milk's serving |
static int |
protein
protein contents of one milk's serving |
Constructor Summary | |
Milk(java.lang.String fat_quantity)
Constructs a new milk object. milk's portion of fat and calories depend on it is non-fat, low-fat, or whole-fat. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int protein
public static final int carb
public int fat
public int calories
Constructor Detail |
public Milk(java.lang.String fat_quantity)
fat_quantity
- represents milk's fat quantity
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |