11 lines
302 B
Java
11 lines
302 B
Java
//: patterns/doubledispatch/TypedBinMember.java
|
|
// 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);
|
|
} ///:~
|