- All Implemented Interfaces:
Hole
public class HoleImpl
extends Object
implements Hole
-
Constructor Summary
Constructors
-
Method Summary
int
Gets the number of the hole
int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
getNumber
public int getNumber()
Description copied from interface: Hole
Gets the number of the hole
- Specified by:
getNumber in interface Hole
- Returns:
- the umber of the hole
-
getPar
public int getPar()
Description copied from interface: Hole
Gets the par of the hole
- Specified by:
getPar in interface Hole
- Returns:
- the par of the hole