1 pnkfelix 1.1.2.1 // Node.java, created Wed Jan 13 15:54:49 1999 by pnkfelix 2 cananian 1.1.2.6 // Copyright (C) 1998 Felix S. Klock II <pnkfelix@mit.edu> 3 cananian 1.1.2.5 // Licensed under the terms of the GNU GPL; see COPYING for details. 4 pnkfelix 1.1.2.1 package harpoon.Analysis.GraphColoring; 5 pnkfelix 1.1.2.1 6 pnkfelix 1.1.2.1 /** 7 pnkfelix 1.1.2.1 * <code>Node</code> is an abstract representation of a node for use 8 pnkfelix 1.1.2.1 * with the Graph object. 9 pnkfelix 1.1.2.1 * 10 cananian 1.1.2.6 * @author Felix S. Klock II <pnkfelix@mit.edu> 11 cananian 1.2 * @version $Id: Node.java,v 1.2 2002/02/25 20:57:17 cananian Exp $ */ 12 pnkfelix 1.1.2.1 13 pnkfelix 1.1.2.3 public abstract class Node { 14 pnkfelix 1.1.2.1 15 pnkfelix 1.1.2.1 /** Creates a <code>Node</code>. */ 16 pnkfelix 1.1.2.1 public Node() { 17 pnkfelix 1.1.2.1 18 pnkfelix 1.1.2.1 } 19 pnkfelix 1.1.2.1 20 pnkfelix 1.1.2.1 /** Modifiability check. 21 pnkfelix 1.1.2.4 <BR> <B>effects:</B> If <code>this</code> is allowed to be 22 pnkfelix 1.1.2.4 modified, returns true. Else returns 23 pnkfelix 1.1.2.4 false. 24 pnkfelix 1.1.2.1 */ 25 pnkfelix 1.1.2.1 public boolean isModifiable() { 26 pnkfelix 1.1.2.1 return true; 27 pnkfelix 1.1.2.1 } 28 pnkfelix 1.1.2.1 29 pnkfelix 1.1.2.3 public abstract boolean equals(Object o); 30 pnkfelix 1.1.2.3 31 pnkfelix 1.1.2.3 public abstract int hashCode(); 32 pnkfelix 1.1.2.3 33 pnkfelix 1.1.2.3 public abstract String toString(); 34 cananian 1.2 }