/** * Author: Josiah Yoder et al. * Class: SE1021-031 * Date: 12/18/13 11:20 AM * Lesson: Week 3, Day 2 */ package example3_2; public interface CanBeCompared { /** Returns true if "this" is greater than "obj" * * @param obj the other comparable object * @return true if "this" is greater than "obj" */ /* public by default */ boolean greaterThan(CanBeCompared obj); // NOTE: We called this "compare" at first but renamed to "greaterThan" to more accurately // describe what it does. }