sonicthedgehog 最近的时间轴更新
sonicthedgehog

sonicthedgehog

V2EX 第 313479 号会员,加入于 2018-05-03 11:03:01 +08:00
sonicthedgehog 最近回复了
@sonicthedgehog 不过这不是惰性计算,难受
class F {

public F() { }

public F apply(int i) {
return new F() {
@Override
public int get() {
return F.this.get() + i * i;
}
};
}

public int get() {
return 0;
}
}
已测试,通过
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1010 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 19:15 · PVG 03:15 · LAX 11:15 · JFK 14:15
♥ Do have faith in what you're doing.