Home
last modified time | relevance | path

Searched refs:sumHolder (Results 1 – 1 of 1) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/collect/
DIteratorBenchmark.java121 int[] sumHolder = {0}; in arrayListForWithHolder() local
124 sumHolder[0] += value.hashCode(); in arrayListForWithHolder()
127 return sumHolder[0]; in arrayListForWithHolder()
132 int[] sumHolder = {0}; in arrayListForEachWithHolder() local
134 arrayList.forEach(value -> sumHolder[0] += value.hashCode()); in arrayListForEachWithHolder()
136 return sumHolder[0]; in arrayListForEachWithHolder()
163 int[] sumHolder = {0}; in linkedListForEach() local
165 linkedList.forEach(value -> sumHolder[0] += value.hashCode()); in linkedListForEach()
167 return sumHolder[0]; in linkedListForEach()