Home
last modified time | relevance | path

Searched refs:checkNonnegative (Results 1 – 25 of 29) sorted by relevance

12

/external/guava/guava/src/com/google/common/collect/
DMultimapBuilder.java20 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
95 checkNonnegative(expectedKeys, "expectedKeys"); in hashKeys()
126 checkNonnegative(expectedKeys, "expectedKeys");
194 this.expectedValuesPerKey = checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
223 this.expectedValuesPerKey = checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
236 this.expectedValuesPerKey = checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
300 checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
339 checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
364 checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
DArrayListMultimap.java19 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
113 checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey"); in ArrayListMultimap()
DConcurrentHashMultiset.java21 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
351 checkNonnegative(count, "count"); in setCount()
406 checkNonnegative(expectedOldCount, "oldCount"); in setCount()
407 checkNonnegative(newCount, "newCount"); in setCount()
DHashBasedTable.java19 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
89 checkNonnegative(expectedCellsPerRow, "expectedCellsPerRow"); in create()
DMultisets.java21 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
223 checkNonnegative(count, "count"); in ImmutableEntry()
337 checkNonnegative(occurrences, "occurrences"); in remove()
891 checkNonnegative(count, "count");
910 checkNonnegative(oldCount, "oldCount");
911 checkNonnegative(newCount, "newCount");
DImmutableCollection.java20 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
321 checkNonnegative(initialCapacity, "initialCapacity"); in ArrayBasedBuilder()
DCollectPreconditions.java37 static int checkNonnegative(int value, String name) { in checkNonnegative() method in CollectPreconditions
DTreeMultiset.java21 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
246 checkNonnegative(occurrences, "occurrences"); in add()
267 checkNonnegative(occurrences, "occurrences"); in remove()
292 checkNonnegative(count, "count"); in setCount()
313 checkNonnegative(newCount, "newCount"); in setCount()
314 checkNonnegative(oldCount, "oldCount"); in setCount()
DAbstractMapBasedMultiset.java21 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
264 checkNonnegative(count, "count");
DLists.java25 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
119 checkNonnegative(arraySize, "arraySize"); in computeArrayListCapacity()
185 checkNonnegative(initialArraySize, "initialArraySize"); // for GWT. in newArrayListWithCapacity()
DFilteredEntryMultimap.java22 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
336 checkNonnegative(occurrences, "occurrences");
DIterators.java815 checkNonnegative(position);
825 static void checkNonnegative(int position) {
849 checkNonnegative(position);
DOrdering.java20 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
650 checkNonnegative(k, "k"); in leastOf()
DCollections2.java24 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
312 checkNonnegative(size, "size"); in newStringBuilderForCollection()
DLinkedHashMultimap.java19 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
227 checkNonnegative(valueSetCapacity, "expectedValuesPerKey"); in LinkedHashMultimap()
DHashBiMap.java18 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
111 checkNonnegative(expectedSize, "expectedSize"); in init()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DArrayListMultimap.java19 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
108 checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey"); in ArrayListMultimap()
DTreeMultiset.java21 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
242 checkNonnegative(occurrences, "occurrences"); in add()
263 checkNonnegative(occurrences, "occurrences"); in remove()
288 checkNonnegative(count, "count"); in setCount()
309 checkNonnegative(newCount, "newCount"); in setCount()
310 checkNonnegative(oldCount, "oldCount"); in setCount()
DAbstractMapBasedMultiset.java21 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
261 checkNonnegative(count, "count");
DLists.java25 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
117 checkNonnegative(arraySize, "arraySize"); in computeArrayListCapacity()
183 checkNonnegative(initialArraySize, "initialArraySize"); // for GWT. in newArrayListWithCapacity()
DIterators.java780 checkNonnegative(position);
790 static void checkNonnegative(int position) {
814 checkNonnegative(position);
DLinkedHashMultimap.java19 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
223 checkNonnegative(valueSetCapacity, "expectedValuesPerKey"); in LinkedHashMultimap()
DMultimaps.java20 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
1514 checkNonnegative(occurrences, "occurrences");
DIterables.java708 Iterators.checkNonnegative(position);
/external/guava/guava-tests/benchmark/com/google/common/collect/
DConcurrentHashMultisetBenchmark.java20 import static com.google.common.collect.CollectPreconditions.checkNonnegative;
375 checkNonnegative(count, "count");
395 checkNonnegative(oldCount, "oldCount");
396 checkNonnegative(newCount, "newCount");

12