Source of Measurable.java


  1: /** 
  2:  An interface for methods that return
  3:  the perimeter and area of an object.
  4: */
  5: public interface Measurable
  6: {
  7:     /** Returns the perimeter. */
  8:     public double getPerimeter();
  9:         
 10:     /** Returns the area. */
 11:     public double getArea();
 12: }