為何我碰不到 这称号no law to see *道界的乔布斯 我便是预料不到这战斗力啊 X道界乔布斯
一定是骗人的 哪有会有天才高中码农少女还会倒贴 骗人 办公室里男女比例反了 男主电车上手里拿的似乎是四人组的《设计模式》…… X道界的乔布斯给跪了 X道界的乔布斯 给跪 码农回去好好沉思一下
public class MyGirl {
// Use keyword 'protected' so others inherit 'MyGirl'
// can touch her field or method,
// for example: public class HisGirlNow extends MyGirl
protected int breast;
protected int looks;
protected int leg;
protected int body;
protected MyGirl(Builder builder) {
this.breast = builder.breast;
this.looks = builder.looks;
this.leg = builder.leg;
this.body = builder.body;
}
protected void doSomething() {
// TODO:evil
}
public static void main(String[] args) {
MyGirl myGirl = new MyGirl.Builder((new MyFeatures()).add("otaku").add(
"programmer")).Breast(Breast.D_CUP).Looks(Looks.BEATIFUL)
.Leg(Leg.THIN).Body(Body.AVERAGE).build();
myGirl.doSomething();
}
public static class Builder {
private int breast = Breast.A_CUP;
private int looks = Looks.UGLY;
private int leg = Leg.FAT;
private int body = Body.FAT;
private MyFeatures myFeatures;
public Builder(MyFeatures myFeatures) {
this.myFeatures = myFeatures;
}
public MyGirl build() {
if (this.myFeatures.contains("otaku")
|| this.myFeatures.contains("programmer")) {
if (this.breast > Breast.A_CUP || this.looks > Looks.AVERAGE
|| this.leg < Leg.FAT || this.body < Body.FAT) {
throw new Error("This not science!");
}
}
return new MyGirl(this);
}
public Builder Breast(int breast) {
this.breast = breast;
return this;
}
public Builder Looks(int looks) {
this.looks = looks;
return this;
}
public Builder Leg(int leg) {
this.leg = leg;
return this;
}
public Builder Body(int body) {
this.body = body;
return this;
}
}
}
我竟然按着Ctrl点了doSomething();一下 引用第14楼allenz于2013-02-27 12:54发表的 :
public class MyGirl {
// Use keyword 'protected' so others inherit 'MyGirl'
// can touch her field or method,
....... images/back.gif
大大 我运行报错怎么办!
Error:This not science!
at MyGirl.newInstance0(Native Method)
at MyGirl.newInstance0(MyGirl.java:46)
at MyGirl.newInstance0(MyGirl.java:42)
at MyGirl.newInstance0(MyGirl.java:41)
at MyGirl.newInstance0(MyGirl.java:23) 可以越狱吗? 当年做SE的时候更像在跑营业,先到客户那边卖中间件,各种吹牛。 http://baike.baidu.com/view/4276833.htm
我还以为是说这个…… 乔布斯什么时候是码农了? 引用第14楼allenz于2013-02-27 12:54发表的:
public class MyGirl {
// Use keyword 'protected' so others inherit 'MyGirl'
// can touch her field or method,
....... images/back.gif
我觉得这个程序可以精简一下
你直接把那个"This not science!" throw出来不就好了吗! 关注中,乔布斯教主不死! 原来早上在微博看到的图出自这里啊。好评! TENGA赶紧出电动版吧,叫iCup好了,最好开放接口 引用第10楼dodolee于2013-02-27 09:54发表的:
男主电车上手里拿的似乎是四人组的《设计模式》…… images/back.gif
不合逻辑啊不合逻辑
女主既然是做人工xx 那么应该是写硬件驱动的吧 为啥会对拿着设计模式这种讲OO的书的男主微笑呢
话说 奋斗吧 系统工程师 超有趣的,第六本啥时候来=.= 乔布斯投胎做人工X道…… 引用第19楼uroko于2013-02-27 16:07发表的:
http://baike.baidu.com/view/4276833.htm
我还以为是说这个…… images/back.gif
我就知道会有人提这个 -- “你可以new一个女碰友”
-- “那一定要记得用unique_ptr” 又到了需要new一个女朋友的时候了呢 O道界的乔布斯
能越狱吗
页:
[1]