FileDocCategorySizeDatePackage
PrintHashCodes.javaAPI DocExample510Sat Feb 17 13:42:14 GMT 2001None

PrintHashCodes

public class PrintHashCodes extends Object
Display hashCodes from some objects

Fields Summary
protected static Object[]
data
Some objects to hashCode() on
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)


	     
		System.out.println("About to hashCode " + data.length + " objects.");
		for (int i=0; i<data.length; i++) {
			System.out.println(data[i].toString() + " --> " + 
				data[i].hashCode());
		}
		System.out.println("All done.");