??xml version="1.0" encoding="utf-8" standalone="yes"?>色综合天天在线,国产日韩欧美在线看,韩日精品视频一区http://www.aygfsteel.com/luolin/zh-cnThu, 19 Jun 2025 09:44:33 GMTThu, 19 Jun 2025 09:44:33 GMT60语法Q动词)http://www.aygfsteel.com/luolin/archive/2009/08/30/293212.html在从未放弃的路上在从未放弃的路上Sun, 30 Aug 2009 13:35:00 GMThttp://www.aygfsteel.com/luolin/archive/2009/08/30/293212.htmlhttp://www.aygfsteel.com/luolin/comments/293212.htmlhttp://www.aygfsteel.com/luolin/archive/2009/08/30/293212.html#Feedback0http://www.aygfsteel.com/luolin/comments/commentRss/293212.htmlhttp://www.aygfsteel.com/luolin/services/trackbacks/293212.html英文里动词是一个句子中不可~少的部分?br />
1.完全及物动词
动词加了宾语后意思很完全?br />
形态:
主语+完全及物动语+宾语
I love her.
Don't hit me.
主语+be动词+现在分语+宾语
I am pulishing him.
主语+be动语+q去分语
He was hit.
2.完全不及物动?br />
形态:
主语+完全不及物动?br />
He ran.
d+be动词+现在分词
He was running.
3.不完全不及物动词 例如:be动语
主语+不完全不及物动语+补语
He becomes handsome.
He got mad/angry/hungry
He got hurted/killed.
He face turned pale.
The leaves are turning yellow.
4.不完全及物动?br />
I make him wash the car. make/have sb do sth(动词原型)
get sb to do sth
let sb do sth
I let him sing a song.
let up雨停?br />
I have a house to let.我有房子要出U?br />
I will force him to do it.
That story cause me to cry.
5.受予动词
I gave him a car.
give后跟的是双宾语,W一个间接宾?通常是h或对?Q第二个直接宾语Q通常是事或物Q?br />
tell,lend
I gave a book to him.
I teach english to him.
I bought a book for him.
I made a chair fom him.
]]>p语法Q动词做主语Q?/title>http://www.aygfsteel.com/luolin/archive/2009/08/29/293118.html在从未放弃的路上在从未放弃的路上Sat, 29 Aug 2009 12:37:00 GMThttp://www.aygfsteel.com/luolin/archive/2009/08/29/293118.htmlhttp://www.aygfsteel.com/luolin/comments/293118.htmlhttp://www.aygfsteel.com/luolin/archive/2009/08/29/293118.html#Feedback0http://www.aygfsteel.com/luolin/comments/commentRss/293118.htmlhttp://www.aygfsteel.com/luolin/services/trackbacks/293118.html
例如Q?br />
Working with him is interesting.
To learn engish with peter is fan.
动名词用于做有经验的事情?br />
不定式用于没有实现的事情Q例如计划,设想{?br />
如果不定式短语做Z语过长,可以虚的主语Qit来代替,不定式短语放在句?br />
例如Q?br />
It it my plan to study aboard with very good friend of mine whose call jone.
中文里可以用句子做主语,而英文里不可以,要将句子变ؓ名词从句?br />
句子前面加一个连词thatQ构成名词从句?br />
例如Q?br />
That she loves me is ture.
That he doesn't agree with me makes me angry.
It makes me angry that he doesn't agree with me.
]]>MW记Q重构_改善既有代码设计_W八章重新组l数据)http://www.aygfsteel.com/luolin/archive/2009/08/18/291213.html在从未放弃的路上在从未放弃的路上Tue, 18 Aug 2009 13:02:00 GMThttp://www.aygfsteel.com/luolin/archive/2009/08/18/291213.htmlhttp://www.aygfsteel.com/luolin/comments/291213.htmlhttp://www.aygfsteel.com/luolin/archive/2009/08/18/291213.html#Feedback0http://www.aygfsteel.com/luolin/comments/commentRss/291213.htmlhttp://www.aygfsteel.com/luolin/services/trackbacks/291213.html1.Self Encapsulate Field
个field建立getting/setting method,q且只通过q些函数来访问field.
例:
privte int low,high;
boolean includes(int arg){
return arg>=low&&arg<=high;
}
重构为:
private int low,high;
boolean includes(int arg){
return arg>=getLow()&&arg<=getHigh();
}
int getLow(){return low;}
int getHigh(){return high;}
2.Replace Data Value with Object
一个数据项变成一个对象?br />
3.Change Value to Reference
这个实值对象变成一个引用对象?br />
4.Change Reference to Value
一个引用对象变成实值对象?br />
例:
Class Currency{
private String code;
public String getCode()}
return code;
}
private Currency(String code){
this.code=code;
}
}
5.Replace Array with Object
以对象替换数l,对于数组中的每个元素Q以一个值域表示之?br />
例:
String[] row=new String[3];
row[0]="Liverpool";
row[1]="15";
重构为:
Performance row=new Performance();
row.setName("Liverpool");
row.setWins("15");
6.Duplicate Observed Data
7.Change Unidirectional Association to Bidirectional
8.Change Bidirectional Association to Unidirectional
]]>设计模式Q抽象工厂)http://www.aygfsteel.com/luolin/archive/2009/08/18/291573.html在从未放弃的路上在从未放弃的路上Tue, 18 Aug 2009 13:01:00 GMThttp://www.aygfsteel.com/luolin/archive/2009/08/18/291573.htmlhttp://www.aygfsteel.com/luolin/comments/291573.htmlhttp://www.aygfsteel.com/luolin/archive/2009/08/18/291573.html#Feedback0http://www.aygfsteel.com/luolin/comments/commentRss/291573.htmlhttp://www.aygfsteel.com/luolin/services/trackbacks/291573.html
通过工厂cd建某一对象Q而不是直接用new关键字?br />
public class Computer(){
}
public class NoteBookComputer extends Computer(){
}
public abstract class ComputerFactory(){
public abstract Computer createComputer();
}
public class NoteBookComputerFactory extends ComputerFactory{
public Computer createComputer() {
return new NoteBookComputer();
}
}
client code:
ComputerFactory factory=new NoteBookComputerFactory();
Computer noteBook=factory.createComputer();
]]>设计模式Q单例模式)http://www.aygfsteel.com/luolin/archive/2009/08/17/291551.html在从未放弃的路上在从未放弃的路上Mon, 17 Aug 2009 14:32:00 GMThttp://www.aygfsteel.com/luolin/archive/2009/08/17/291551.htmlhttp://www.aygfsteel.com/luolin/comments/291551.htmlhttp://www.aygfsteel.com/luolin/archive/2009/08/17/291551.html#Feedback0http://www.aygfsteel.com/luolin/comments/commentRss/291551.htmlhttp://www.aygfsteel.com/luolin/services/trackbacks/291551.html1.Singleton(单例模式)
一个类在系l中只存在一个实例,q提供该实例的全局讉K炏V?br />
样例代码Qlazy-loadQ?br />
public class Singleton {
private static Singleton instance;
private Singleton(){
}
public static synchronized Singleton getInstance(){
if(instance==null)
instance=new Singleton();
return instance;
}
}
or
public class Singleton(){
public static final Singleton instance=new Singleton();
private Singleton(){
}
}