V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  watzds  ›  全部回复第 114 页 / 共 114 页
回复总数  2262
1 ... 105  106  107  108  109  110  111  112  113  114  
2015-01-28 20:41:45 +08:00
回复了 saxon 创建的主题 程序员 弱弱的问一下 MFC 现在还有必要学习么...
我当年就是因为觉得学MFC很有挑战性,才自学MFC的,在windows上的某些程序用这个还是不错的。当然这框架总体上说是过时了的。
2014-08-03 19:52:22 +08:00
回复了 andybest 创建的主题 问与答 这个代码逻辑怎么优化?
List<Deal> pendingDeals=new ArrayList<Deal>();
while(iterator.hasNext()){
  pendingDeals.add(iterator.next());
  if(!pendingDeals.isEmpty() && (pendingDeals.size()%10==0 || !iterator.hasNext())){
    process(pendingDeals);
  }
}
1 ... 105  106  107  108  109  110  111  112  113  114  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   3222 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms · UTC 04:28 · PVG 12:28 · LAX 20:28 · JFK 23:28
♥ Do have faith in what you're doing.