2015-05-05 11:20:13 -07:00
|
|
|
|
//: patterns/doubledispatch/TypedBinMember.java
|
2015-05-29 14:18:51 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
2015-05-05 11:20:13 -07:00
|
|
|
|
// An interface for adding the double dispatching
|
|
|
|
|
// method to the trash hierarchy without
|
|
|
|
|
// modifying the original hierarchy.
|
|
|
|
|
package patterns.doubledispatch;
|
|
|
|
|
|
|
|
|
|
interface TypedBinMember {
|
|
|
|
|
// The new method:
|
|
|
|
|
boolean addToBin(TypedBin[] tb);
|
|
|
|
|
} ///:~
|