Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Pair.java

00001 package gov.nasa.arc.ase.util.graph;
00002 
00003 import java.io.*;
00004 
00005 public class Pair {
00006 
00007   int value;
00008   Object element;
00009 
00010   public Pair(int valueIn, Object elementIn) {
00011     value = valueIn;
00012     element = elementIn;
00013   }  
00014   public Object getElement() {
00015     return element;
00016   }  
00017   public int getValue() {
00018     return value;
00019   }  
00020   public void setElement(Object elementIn) {
00021     element = elementIn;
00022   }  
00023   public void setValue(int valueIn) {
00024     value = valueIn;
00025   }  
00026   public String toString() {
00027     return "(" + value + ", " + element.toString() + ")";
00028   }  
00029 }

Generated at Thu Feb 7 06:51:03 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001