代码搜索:refactor
找到约 282 项符合「refactor」的源代码
代码结果 282
www.eeworm.com/read/393726/2464933
java visitabledecorator.java
//: refactor:trashvisitor:VisitableDecorator.java
// A decorator that adapts the generic Trash
// classes to the visitor pattern.
// [ Use a Dynamic Proxy here?? ]
package refactor.trashvisitor;
www.eeworm.com/read/393726/2464935
java fillablevisitor.java
//: refactor:trashvisitor:FillableVisitor.java
// Adapter Decorator that adds the visitable
// decorator as the Trash objects are
// being created.
package refactor.trashvisitor;
import refact
www.eeworm.com/read/404039/2307744
java fillable.java
//: refactor:trash:Fillable.java
// Any object that can be filled with Trash.
package refactor.trash;
public interface Fillable {
void addTrash(Trash t);
} ///:~
www.eeworm.com/read/404039/2307767
java visitable.java
//: refactor:trashvisitor:Visitable.java
// An interface to add visitor functionality
// to the Trash hierarchy without
// modifying the base class.
package refactor.trashvisitor;
import refact
www.eeworm.com/read/393726/2464908
java fillable.java
//: refactor:trash:Fillable.java
// Any object that can be filled with Trash.
package refactor.trash;
public interface Fillable {
void addTrash(Trash t);
} ///:~
www.eeworm.com/read/393726/2464931
java visitable.java
//: refactor:trashvisitor:Visitable.java
// An interface to add visitor functionality
// to the Trash hierarchy without
// modifying the base class.
package refactor.trashvisitor;
import refact
www.eeworm.com/read/404039/2307773
java dynatrash.java
//: refactor:dynatrash:DynaTrash.java
// Using a Map of Lists and RTTI to automatically sort
// trash into ArrayLists. This solution, despite the
// use of RTTI, is extensible.
package refactor.
www.eeworm.com/read/393726/2464937
java dynatrash.java
//: refactor:dynatrash:DynaTrash.java
// Using a Map of Lists and RTTI to automatically sort
// trash into ArrayLists. This solution, despite the
// use of RTTI, is extensible.
package refactor.
www.eeworm.com/read/404039/2307751
java fillablecollection.java
//: refactor:trash:FillableCollection.java
// Adapter that makes a Collection Fillable.
package refactor.trash;
import java.util.*;
public class FillableCollection implements Fillable {
priv
www.eeworm.com/read/393726/2464915
java fillablecollection.java
//: refactor:trash:FillableCollection.java
// Adapter that makes a Collection Fillable.
package refactor.trash;
import java.util.*;
public class FillableCollection implements Fillable {
priv