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   ·   942 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 22:36 · PVG 06:36 · LAX 15:36 · JFK 18:36
♥ Do have faith in what you're doing.