HomeSort by relevance Sort by last modified time
    Searched refs:checkArgument (Results 76 - 100 of 368) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/guava/guava/src/com/google/common/collect/
ForwardingSortedMap.java 19 import static com.google.common.base.Preconditions.checkArgument;
154 checkArgument(unsafeCompare(fromKey, toKey) <= 0, "fromKey must be <= toKey");
ImmutableEnumMap.java 18 import static com.google.common.base.Preconditions.checkArgument;
54 checkArgument(!delegate.isEmpty());
AbstractMapBasedMultiset.java 19 import static com.google.common.base.Preconditions.checkArgument;
218 checkArgument(
228 checkArgument(newCount <= Integer.MAX_VALUE,
240 checkArgument(
  /external/guava/guava/src/com/google/common/hash/
MessageDigestHashFunction.java 17 import static com.google.common.base.Preconditions.checkArgument;
50 checkArgument(bytes >= 4 && bytes <= maxLength,
HashCode.java 17 import static com.google.common.base.Preconditions.checkArgument;
245 checkArgument(bytes.length >= 1, "A HashCode must contain at least 1 byte.");
329 checkArgument(string.length() >= 2,
331 checkArgument(string.length() % 2 == 0,
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ContiguousSet.java 17 import static com.google.common.base.Preconditions.checkArgument;
90 checkArgument(comparator().compare(fromElement, toElement) <= 0);
AbstractMapBasedMultiset.java 19 import static com.google.common.base.Preconditions.checkArgument;
215 checkArgument(
225 checkArgument(newCount <= Integer.MAX_VALUE,
237 checkArgument(
HashMultimap.java 91 Preconditions.checkArgument(expectedValuesPerKey >= 0);
  /external/guava/guava-tests/benchmark/com/google/common/collect/
SortedCopyBenchmark.java 17 import static com.google.common.base.Preconditions.checkArgument;
70 checkArgument(size > 0, "empty collection not supported");
  /external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
Parameter.java 19 import static com.google.common.base.Preconditions.checkArgument;
158 checkArgument(bindingAnnotation == null,
  /external/jsilver/src/com/google/streamhtmlparser/util/
EntityResolver.java 233 Preconditions.checkArgument(sb.length() > 0);
234 Preconditions.checkArgument(sb.charAt(0) == '&');
  /packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
PointMeteringParameters.java 60 Preconditions.checkArgument(sensorOrientation % 90 == 0, "sensorOrientation must be a " +
62 Preconditions.checkArgument(sensorOrientation >= 0, "sensorOrientation must not be " +
  /packages/apps/Camera2/src/com/android/camera/processing/memory/
LruPool.java 121 Preconditions.checkArgument(maxSize > 0, "maxSize must be > 0.");
252 Preconditions.checkArgument(result >= 0, "Size was < 0.");
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
AllocationStats.java 18 import static com.google.common.base.Preconditions.checkArgument;
62 checkArgument(allocationCount >= 0, "allocationCount (%s) was negative", allocationCount);
64 checkArgument(allocationSize >= 0, "allocationSize (%s) was negative", allocationSize);
66 checkArgument(reps >= 0, "reps (%s) was negative", reps);
  /external/guava/guava/src/com/google/common/io/
MultiReader.java 65 Preconditions.checkArgument(n >= 0, "n is negative");
  /external/guava/guava/src/com/google/common/math/
DoubleMath.java 19 import static com.google.common.base.Preconditions.checkArgument;
234 checkArgument(x > 0.0 && isFinite(x), "x must be positive and finite");
393 checkArgument(isFinite(value));
400 checkArgument(count > 0, "Cannot take mean of 0 values");
  /external/guava/guava/src/com/google/common/net/
HostSpecifier.java 79 Preconditions.checkArgument(!parsedHost.hasPort());
InternetDomainName.java 19 import static com.google.common.base.Preconditions.checkArgument;
149 checkArgument(name.length() <= MAX_LENGTH,
154 checkArgument(parts.size() <= MAX_PARTS,
156 checkArgument(validateSyntax(parts), "Not a valid domain name: '%s'", name);
InetAddresses.java 130 Preconditions.checkArgument(bytes.length == 4,
360 Preconditions.checkArgument(ip instanceof Inet6Address);
570 Preconditions.checkArgument(isCompatIPv4Address(ip),
603 Preconditions.checkArgument(is6to4Address(ip),
644 Preconditions.checkArgument((port >= 0) && (port <= 0xffff),
646 Preconditions.checkArgument((flags >= 0) && (flags <= 0xffff),
694 Preconditions.checkArgument(isTeredoAddress(ip),
759 Preconditions.checkArgument(isIsatapAddress(ip),
    [all...]
  /external/guava/guava/src/com/google/common/primitives/
UnsignedLongs.java 17 import static com.google.common.base.Preconditions.checkArgument;
88 checkArgument(array.length > 0);
108 checkArgument(array.length > 0);
357 checkArgument(radix >= Character.MIN_RADIX && radix <= Character.MAX_RADIX,
Floats.java 19 import static com.google.common.base.Preconditions.checkArgument;
218 checkArgument(array.length > 0);
236 checkArgument(array.length > 0);
321 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
322 checkArgument(padding >= 0, "Invalid padding: %s", padding);
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
Splitter.java 19 import static com.google.android.mail.common.base.Preconditions.checkArgument;
159 checkArgument(separator.length() != 0,
204 checkArgument(!separatorPattern.matcher("").matches(),
254 checkArgument(length > 0, "The length may not be less than 1");
  /external/caliper/caliper/src/main/java/com/google/caliper/options/
CommandLineParser.java 17 import static com.google.common.base.Preconditions.checkArgument;
209 checkArgument(!field.isAnnotationPresent(Leftovers.class),
221 checkArgument(!isStaticOrAbstract(method),
223 checkArgument(!method.isAnnotationPresent(Option.class),
225 checkArgument(leftoverMethod == null, "Two methods have @Leftovers");
303 checkArgument(!isStaticOrAbstract(method),
306 checkArgument(classes.length == 1, "Method does not have exactly one argument: " + method);
  /external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
Chars.java 19 import static com.google.common.base.Preconditions.checkArgument;
80 // don't use checkArgument here, to avoid boxing
225 checkArgument(array.length > 0);
244 checkArgument(array.length > 0);
295 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
296 checkArgument(padding >= 0, "Invalid padding: %s", padding);
Doubles.java 19 import static com.google.common.base.Preconditions.checkArgument;
217 checkArgument(array.length > 0);
235 checkArgument(array.length > 0);
320 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
321 checkArgument(padding >= 0, "Invalid padding: %s", padding);

Completed in 621 milliseconds

1 2 34 5 6 7 8 91011>>