Uses of Class
commodity.Commodity

Packages that use Commodity
action   
commodity   
game   
player   
 

Uses of Commodity in action
 

Methods in action that return Commodity
 Commodity Transaction.getCommodityTraded()
           
 Commodity Transaction.getCurrency()
           
 

Constructors in action with parameters of type Commodity
Decision(Participant participant, Commodity commA, double qtyA, Commodity commB, double qtyB)
          Constructor
Transaction(Buyer theBuyer, Seller theSeller, Commodity theTradedComm, double qty, Commodity currency, double price)
          Constructor.
 

Uses of Commodity in commodity
 

Subclasses of Commodity in commodity
 class Currency
           
 class Good
           
 

Uses of Commodity in game
 

Methods in game with parameters of type Commodity
 void DoubleAuction.clearAllParticipantsOfCommodity(Commodity pCommodity)
          Convenience method.
 void DoubleAuction.endowAllBuyers(Commodity comm, double amt)
          For every buyer in the double auction this method endows them with the given commodity of the given amount
 void DoubleAuction.endowAllParticipants(Commodity comm, double amt)
          Convenience method.
 void DoubleAuction.endowAllSellers(Commodity comm, double amt)
          For every seller in the double auction this method endows them with the given commodity of the given amount
 

Uses of Commodity in player
 

Methods in player that return Commodity
 Commodity ZIFirm.getEmissionsPermit()
           
 Commodity ZIFirm.getProduct()
           
 

Methods in player that return types with arguments of type Commodity
 java.util.HashMap<Commodity,java.lang.Double> Player.getInventory()
           
 

Methods in player with parameters of type Commodity
 void Player.addToInventory(Commodity comm, double qty)
          Adds a given quantity of a specified commodity to the players inventory
 double Player.browseInventory(Commodity comm)
          Returns the player's value for the specified commodity
 double Player.clearFromInventory(Commodity comm)
          Clears the given commodity from this player's inventory
 double EchoPlayer.getValue(Commodity comm)
           
 double Player.getValue(Commodity comm)
          Given a commodity, the value (cost) of this commodity for this player is returned
 void Player.removeFromInventory(Commodity comm, double qty)
          Removes the specified amount of a given commodity from this players inventory.
 void Player.setValue(Commodity comm, double value)
          Given a commodity, sets the value (cost) of this commodity for this player
 

Method parameters in player with type arguments of type Commodity
 void Player.setBudget(java.util.HashMap<Commodity,java.lang.Double> budget)
           
 

Constructors in player with parameters of type Commodity
ZIFirm(java.lang.String pName, boolean constraint, java.lang.String type, Commodity pCommodity, Commodity pPermit)