2005-01-14 | Paul Boddie | raw annotate files changeset graph | Added the mainloop method. |
1 public class ComparisonTest { 2 3 public boolean equals(int x, int y) { 4 if (x == y) { 5 return true; 6 } else { 7 return false; 8 } 9 } 10 11 public boolean lessThan(int x, int y) { 12 if (x < y) { 13 return true; 14 } else { 15 return false; 16 } 17 } 18 19 public boolean greaterThan(int x, int y) { 20 if (x > y) { 21 return true; 22 } else { 23 return false; 24 } 25 } 26 }