FileDocCategorySizeDatePackage
IntEntry.javaAPI DocGlassfish v2 API2581Thu May 17 15:20:40 BST 2007com.sun.enterprise.util.collection

IntEntry

public final class IntEntry extends Object
NOT THREAD SAFE: mutable variables

Fields Summary
public final int
key
public Object
object
Constructors Summary
IntEntry(int keyIn, Object objectIn)

		key    = keyIn;
		object = objectIn;
	
IntEntry(long keyIn, Object objectIn)

		key    = (int)keyIn;
		object = objectIn;
	
Methods Summary
public booleanequals(java.lang.Object object)

		if (object instanceof IntEntry) {
			return ( ((IntEntry) object).key == key );
		}
		return false;
	
public inthashCode()

        return key;
    
public java.lang.StringtoString()

		return "key: " + key + "; obj: " + object;