2015-09-07 11:44:36 -06:00
|
|
|
|
// patterns/doubledispatch/TypedBinMember.java
|
2015-06-15 17:47:35 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
|
|
|
|
// 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);
|
2015-09-07 11:44:36 -06:00
|
|
|
|
}
|