The Java Program: Verbose.java

  1 interface Verbose {
  2 
  3    // (All fields in an interface are static and final.) 
  4 
  5    // A common semantics between client and implementor
  6    static final int SILENT = 0;
  7    static final int TERSE = 1;
  8    static final int NORMAL = 2;
  9    static final int VERBOSE = 3;
 10 
 11    void setVerbosity (int level);
 12 
 13    int getVerbsity();
 14 
 15 }