1: /**
2: An interface for methods that return
3: the perimeter and area of an object.
5: @author Frank M. Carrano, Timothy M. Henry
6: @version 5.0
7: */
8: public interface Measurable
9: {
10: /** Gets the perimeter.
11: @return The perimeter. */
12: public double getPerimeter();
13:
14: /** Gets the area.
15: @return The area. */
16: public double getArea();
17: } // end Measurable