com.darwinsys.util
Class IdMapEntry

java.lang.Object
  extended bycom.darwinsys.util.IdMapEntry

public class IdMapEntry
extends java.lang.Object

An IdMapEntry is one int-String pair, for example, an "id" or primary key in a database and a name or description of the item in the named row. IdMapEntry objects are immutable.

Rather like a java.util.Map.Entry but without needing to convert.

Version:
$Id: IdMapEntry.java,v 1.6 2004/06/01 02:51:38 ian Exp $

Constructor Summary
IdMapEntry(int i, java.lang.String n)
           
 
Method Summary
 int getKey()
           
 java.lang.String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdMapEntry

public IdMapEntry(int i,
                  java.lang.String n)
Method Detail

getKey

public int getKey()

getValue

public java.lang.String getValue()


Copyright © 2000-2003 Ian F. Darwin. See license.html for usage license.