代码搜索:refactor
找到约 282 项符合「refactor」的源代码
代码结果 282
www.eeworm.com/read/124166/14592146
makefile
# Master makefile for Thinking in Patterns by Bruce Eckel
# at http://www.BruceEckel.com
# (c)2003 Bruce Eckel
# Copyright notice in Copyright.txt
# Compiles all the code in the book
# Using the
www.eeworm.com/read/124166/14592150
xml build.xml
build.xml for refactor of "Thinking in Java, 3rd Edition"
by Bruce Eck
www.eeworm.com/read/124166/14592152
java cardboard.java
//: refactor:trash:Cardboard.java
// The Cardboard class with prototyping.
package refactor.trash;
public class Cardboard extends Trash {
private static double val = 0.23f;
public Cardboar
www.eeworm.com/read/124166/14592153
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/124166/14592155
java aluminum.java
//: refactor:trash:Aluminum.java
// The Aluminum class with prototyping.
package refactor.trash;
public class Aluminum extends Trash {
private static double val = 1.67f;
public Aluminum(do
www.eeworm.com/read/124166/14592158
java glass.java
//: refactor:trash:Glass.java
// The Glass class with prototyping.
package refactor.trash;
public class Glass extends Trash {
private static double val = 0.23f;
public Glass(double wt) { s
www.eeworm.com/read/124166/14592159
java paper.java
//: refactor:trash:Paper.java
// The Paper class with prototyping.
package refactor.trash;
public class Paper extends Trash {
private static double val = 0.10f;
public Paper(double wt) { s
www.eeworm.com/read/124166/14592160
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/124166/14592161
makefile
# From Thinking in Patterns (with Java) by Bruce Eckel
# At http://www.BruceEckel.com
# (c)2003 Bruce Eckel
# Copyright notice in Copyright.txt
# Automatically-generated MAKEFILE
# For examples
www.eeworm.com/read/124166/14592164
java ddaluminum.java
//: refactor:doubledispatch:DDAluminum.java
// Aluminum for double dispatching.
package refactor.doubledispatch;
import refactor.trash.*;
public class DDAluminum extends Aluminum
implement