/** * Interface to Performer objects. * CSE 142 Lecture demo, 2/18/04 */ public interface Performer { /** * Clap in a style appropriate for this Performer * @param nTimes Number of times to clap */ public void clap(int nTimes); /** * Twirl in a style appropriate for this Performer * @param nTimes Number of times to twirl */ public void twirl(int nTimes); /** * Report how much this performer has clapped and twirled * @return total number of claps and twirls */ public int tellCount(); }