//: c17:doubledispatch:TypedBinMember.java // From Thinking in Java, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 1999 // Copyright notice in Copyright.txt // An interface for adding the double dispatching // method to the trash hierarchy without // modifying the original hierarchy. package c17.doubledispatch; interface TypedBinMember { // The new method: boolean addToBin(TypedBin[] tb); } ///:~