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