eos.good
Class Necessity

Object
  extended by eos.good.Good
      extended by eos.good.Necessity

public class Necessity
extends Good

Necessity good

Author:
zhihongx

Field Summary
 
Fields inherited from class eos.good.Good
quantity
 
Constructor Summary
Necessity(double quantity)
          Create quantity of necessity
 
Method Summary
 
Methods inherited from class eos.good.Good
decrease, getName, getQuantity, increase
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Necessity

public Necessity(double quantity)
Create quantity of necessity

Parameters:
quantity -