/* ****************************************************************************
 * IBM Confidential
 * OCO Source Materials
 * %ProductName%
 *  Copyright IBM Corp. 2003-2004
 *
 * The source code for this program is not published or 
 * otherwise divested of its trade secrets, irrespective of what 
 * has been deposited with the U.S. Copyright Office.
 * ****************************************************************************
 * Created on 27 April 2004
 */
package philosopher;

/**
 * Fork is a resource shared between two philosophers who want to dine.
 * Philosophers apparently need two forks to eat ;-).
 */
public class Fork 
{
  private String id;
  private static int Id;
  
  public Fork()
  {
    id = "fork#"+(Id++);
  }
  
  public String getName()
  {
    return id;
  }
}
