1: /**
2: * An interface for methods that return
3: * the perimeter and area of an object.
4: *
5: * @author Mark Young (A00000000)
6: */
7: public interface Measurable {
9: /**
10: * The perimeter of this measurable object.
11: *
12: * @return the permimeter of this object
13: */
14: public double getPerimeter();
15:
16: /**
17: * The area of this measurable object.
18: *
19: * @return the area of this object
20: */
21: public double getArea();
23: }