Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.gotdns.jimula.EatHealthy
Class PFC

    java.lang.Object
      |
      +--com.gotdns.jimula.EatHealthy.PFC

public class PFC
extends java.lang.Object

PFC is a class which calculate protein, fat, and carbohydrate serving depend on user's calories need.

EatHealthy

A simple personal nutrient need and food serving calculator

Copyright (c) 2003

Constructor Summary
`PFC(float calorie)` Constructs a new PFC.

Method Summary
`float` | `getCarb()` Get the calculated carbohydrate serving of this object.
`float` | `getFat()` Get the calculated fat serving of this object.
`float` | `getProtien()` Get the calculated protein serving of this object.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PFC

    public PFC(float calorie)

  Constructs a new PFC.

Parameters:
  `calorie` - user's calorie need

Method Detail

### getProtien

    public float getProtien()

  Get the calculated protein serving of this object.

  Returns:
    a flot with protein serving

### getFat

    public float getFat()

  Get the calculated fat serving of this object.

  Returns:
    a flot with protein serving

### getCarb

    public float getCarb()

  Get the calculated carbohydrate serving of this object.

  Returns:
    a flot with carbohydrate serving

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD