Interface Enron

All Known Implementing Classes:
Customer, Project3, Supplier, Trader

public interface Enron

CS 537, Fall 2002, Project 2. Constants and parameters of the energy trading operation.

Copyright © 2002 by Marvin Solomon. All rights reserved.


Field Summary
static String[] cname
          Table translating commodity codes to names.
static int COAL
          Code for the coal commodity
static int COMMODITIES
          Number of commodities
static String[] cunit
          Table translating commodities to units.
static int ELEC
          Code for the electricity commodity
static int GAS
          Code for the natural gas commodity
static int OIL
          Code for the oil commodity
 

Field Detail

COMMODITIES

public static final int COMMODITIES
Number of commodities

See Also:
Constant Field Values

COAL

public static final int COAL
Code for the coal commodity

See Also:
Constant Field Values

OIL

public static final int OIL
Code for the oil commodity

See Also:
Constant Field Values

GAS

public static final int GAS
Code for the natural gas commodity

See Also:
Constant Field Values

ELEC

public static final int ELEC
Code for the electricity commodity

See Also:
Constant Field Values

cname

public static final String[] cname
Table translating commodity codes to names. For example, cname[COAL] == "coal".


cunit

public static final String[] cunit
Table translating commodities to units. For example, cunit[COAL] = "ton".