HomeSort by relevance Sort by last modified time
    Searched refs:checkArgument (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/guava/src/com/google/common/collect/
Hashing.java 20 import static com.google.common.base.Preconditions.checkArgument;
55 checkArgument(setSize < MAX_TABLE_SIZE, "collection too large");
EnumBiMap.java 19 import static com.google.common.base.Preconditions.checkArgument;
82 checkArgument(!map.isEmpty());
90 checkArgument(!map.isEmpty());
EnumMultiset.java 20 import static com.google.common.base.Preconditions.checkArgument;
52 checkArgument(iterator.hasNext(),
ConcurrentHashMultiset.java 20 import static com.google.common.base.Preconditions.checkArgument;
104 checkArgument(countMap.isEmpty());
185 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences);
194 checkArgument(occurrences <= Integer.MAX_VALUE - current,
220 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences);
278 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences);
ArrayListMultimap.java 31 import static com.google.common.base.Preconditions.checkArgument;
108 checkArgument(expectedValuesPerKey >= 0);
AbstractBiMap.java 21 import static com.google.common.base.Preconditions.checkArgument;
74 checkArgument(forward.isEmpty());
75 checkArgument(backward.isEmpty());
76 checkArgument(forward != backward);
109 checkArgument(!containsValue(value), "value already present: %s", value);
314 checkArgument(!containsValue(value),
AbstractMapBasedMultiset.java 20 import static com.google.common.base.Preconditions.checkArgument;
244 checkArgument(
254 checkArgument(newCount <= Integer.MAX_VALUE,
266 checkArgument(
Multisets.java 21 import static com.google.common.base.Preconditions.checkArgument;
156 checkArgument(n >= 0);
213 checkArgument(occurrences > 0);
469 checkArgument(count >= 0, "%s cannot be negative: %s", name, count);
  /external/guava/src/com/google/common/primitives/
SignedBytes.java 23 import static com.google.common.base.Preconditions.checkArgument;
49 checkArgument(result == value, "Out of range: %s", value);
93 checkArgument(array.length > 0);
112 checkArgument(array.length > 0);
UnsignedBytes.java 21 import static com.google.common.base.Preconditions.checkArgument;
48 checkArgument(value >> 8 == 0, "out of range: %s", value);
94 checkArgument(array.length > 0);
114 checkArgument(array.length > 0);
Chars.java 31 import static com.google.common.base.Preconditions.checkArgument;
74 checkArgument(result == value, "Out of range: %s", value);
214 checkArgument(array.length > 0);
233 checkArgument(array.length > 0);
298 checkArgument(bytes.length >= BYTES,
321 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
322 checkArgument(padding >= 0, "Invalid padding: %s", padding);
Ints.java 31 import static com.google.common.base.Preconditions.checkArgument;
74 checkArgument(result == value, "Out of range: %s", value);
214 checkArgument(array.length > 0);
233 checkArgument(array.length > 0);
304 checkArgument(bytes.length >= BYTES,
330 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
331 checkArgument(padding >= 0, "Invalid padding: %s", padding);
Shorts.java 31 import static com.google.common.base.Preconditions.checkArgument;
74 checkArgument(result == value, "Out of range: %s", value);
214 checkArgument(array.length > 0);
233 checkArgument(array.length > 0);
298 checkArgument(bytes.length >= BYTES,
321 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
322 checkArgument(padding >= 0, "Invalid padding: %s", padding);
Longs.java 31 import static com.google.common.base.Preconditions.checkArgument;
182 checkArgument(array.length > 0);
201 checkArgument(array.length > 0);
277 checkArgument(bytes.length >= BYTES,
307 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
308 checkArgument(padding >= 0, "Invalid padding: %s", padding);
Doubles.java 30 import static com.google.common.base.Preconditions.checkArgument;
187 checkArgument(array.length > 0);
205 checkArgument(array.length > 0);
254 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
255 checkArgument(padding >= 0, "Invalid padding: %s", padding);
Floats.java 30 import static com.google.common.base.Preconditions.checkArgument;
184 checkArgument(array.length > 0);
202 checkArgument(array.length > 0);
251 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
252 checkArgument(padding >= 0, "Invalid padding: %s", padding);
  /external/guava/src/com/google/common/io/
Resources.java 19 import static com.google.common.base.Preconditions.checkArgument;
147 checkArgument(url != null, "resource %s not found.", resourceName);
159 checkArgument(url != null, "resource %s relative to %s not found.",
LimitInputStream.java 45 Preconditions.checkArgument(limit >= 0, "limit must be non-negative");
MultiReader.java 64 Preconditions.checkArgument(n >= 0, "n is negative");
  /external/guava/src/com/google/common/util/concurrent/
SimpleTimeLimiter.java 19 import static com.google.common.base.Preconditions.checkArgument;
87 checkArgument(timeoutDuration > 0, "bad timeout: " + timeoutDuration);
88 checkArgument(interfaceType.isInterface(),
119 checkArgument(timeoutDuration > 0, "bad timeout: " + timeoutDuration);
  /development/samples/NFCDemo/src/com/example/android/nfc/record/
TextRecord.java 66 Preconditions.checkArgument(record.getTnf() == NdefRecord.TNF_WELL_KNOWN);
67 Preconditions.checkArgument(Arrays.equals(record.getType(), NdefRecord.RTD_TEXT));
  /external/guava/src/com/google/common/base/
Preconditions.java 35 * checkArgument(count > 0, "must be positive: %s", count);</pre>
69 public static void checkArgument(boolean expression) {
84 public static void checkArgument(boolean expression, Object errorMessage) {
109 public static void checkArgument(boolean expression,
Splitter.java 19 import static com.google.common.base.Preconditions.checkArgument;
157 checkArgument(separator.length() != 0,
202 checkArgument(!separatorPattern.matcher("").matches(),
252 checkArgument(length > 0, "The length may not be less than 1");
  /packages/apps/Tag/src/com/android/apps/tag/record/
TextRecord.java 79 Preconditions.checkArgument(record.getTnf() == NdefRecord.TNF_WELL_KNOWN);
80 Preconditions.checkArgument(Arrays.equals(record.getType(), NdefRecord.RTD_TEXT));
MimeRecord.java 71 Preconditions.checkArgument(record.getTnf() == NdefRecord.TNF_MIME_MEDIA);

Completed in 214 milliseconds

1 2 3