/* TimeCompare.java Version history: - 2002-09-10 - minor updates, mostly code comments - 2001-11-06 - initial release -- Philip Heede - - - - Defines static method equals() that compares two Time[] arrays for identical Time objects. The main() method gives a test case to demonstrate the functionality. */ public class TimeCompare { public static boolean equals(Time[] ttable1, Time[] ttable2) { // first test to see if the arrays are of equal size, // if they aren't we don't need to do the more expensive test if (ttable1.length != ttable2.length) return false; // test the individual array entries for equality for(int i=0; i