question: public Selector printOptions ( ) { if ( header != null ) { out . println ( header ) ; } for ( int i = 0 ; i < options . size ( ) ; i ++ ) { out . println ( ( i + 1 ) + ":" + formatter . apply ( options . get ( i ) ) ) ; } if ( footer != null ) { out . println ( footer ) ; } return this ; }
target:  Prints options. First option is 1.