1: /**
2: * A very simple extension of the Measurable interface.
3: *
4: * @see Measurable.java
5: *
6: * @author Mark Young (A00000000)
7: */
8: public interface Polygonal
9: // all Polygons are Measurable (and so have all the Measurable methods)
10: extends Measurable {
12: // and they also have a method to...
13: /**
14: * Get the number of sides this object has.
15: *
16: * @return the number of sides this object has
17: */
18: public int getNumberOfSides();
20: }