/Users/lyon/j4p/src/bookExamples/ch25Delegation/Pollution.java

1    package bookExamples.ch25Delegation; 
2     
3    /** 
4     * DocJava, Inc. 
5     * http://www.docjava.com 
6     * Programmer: dlyon 
7     * Date: Oct 13, 2004 
8     * Time: 7:37:07 PM 
9     */ 
10   public class Pollution implements PollutionInterface { 
11       private static final boolean dirty = true; 
12    
13       public boolean isDirty() { 
14           return dirty; 
15       } 
16       public boolean isWet() { 
17           return false; 
18       } 
19   } 
20