One other utility can be more convenient and faster to use than find.
另一种实用工具可能比find使用起来更加方便,并且速度更快。
Note that I used an old-fashioned explicit int loop, rather than the more convenient for (int i : integers) enhanced for loop, because it is slightly faster, even for arrays (see Resources).
注意,我使用的是一个老式的显式 int 循环,而不是更方便的 for (int i : integers) 改进型 for 循环,因为它的速度快一点儿(参见 参考资料)。
If you build REST-based Web services, then the transfer of data through JSON instead of XML can be faster and more convenient.
如果建立基于REST的Web服务,那么通过JSON而不是XML传输数据可能更快更方便。
应用推荐