Class GolfingExample.Golfer

  • Enclosing class:
    GolfingExample

    public static class GolfingExample.Golfer
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Golfer()  
      Golfer​(java.lang.String name, java.lang.String color, int position)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getColor()  
      java.lang.String getName()  
      int getPosition()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Golfer

        public Golfer()
      • Golfer

        public Golfer​(java.lang.String name,
                      java.lang.String color,
                      int position)
    • Method Detail

      • getColor

        public java.lang.String getColor()
        Returns:
        the color
      • getName

        public java.lang.String getName()
        Returns:
        the name
      • getPosition

        public int getPosition()
        Returns:
        the name