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

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
RegularImmutableSet.java 19 import static com.google.common.base.Preconditions.checkArgument;
34 checkArgument(delegate.size() >= 2);
  /external/guava/guava/src/com/google/common/reflect/
TypeCapture.java 19 import static com.google.common.base.Preconditions.checkArgument;
34 checkArgument(superclass instanceof ParameterizedType,
TypeParameter.java 19 import static com.google.common.base.Preconditions.checkArgument;
48 checkArgument(type instanceof TypeVariable, "%s should be a type variable.", type);
Reflection.java 19 import static com.google.common.base.Preconditions.checkArgument;
89 checkArgument(interfaceType.isInterface(), "%s is not an interface", interfaceType);
  /external/guava/guava/src/com/google/common/net/
HostAndPort.java 19 import static com.google.common.base.Preconditions.checkArgument;
134 checkArgument(isValidPort(port), "Port out of range: %s", port);
136 checkArgument(!parsedHost.hasPort(), "Host has a port: %s", host);
153 checkArgument(!parsedHost.hasPort(), "Host has a port: %s", host);
194 checkArgument(!portString.startsWith("+"), "Unparseable port number: %s", hostPortString);
200 checkArgument(isValidPort(port), "Port number out of range: %s", hostPortString);
216 checkArgument(hostPortString.charAt(0) == '[',
220 checkArgument(colonIndex > -1 && closeBracketIndex > colonIndex,
227 checkArgument(hostPortString.charAt(closeBracketIndex + 1) == ':',
230 checkArgument(Character.isDigit(hostPortString.charAt(i))
    [all...]
  /external/guava/guava-testlib/src/com/google/common/testing/
FakeTicker.java 19 import static com.google.common.base.Preconditions.checkArgument;
64 checkArgument(autoIncrementStep >= 0, "May not auto-increment by a negative amount");
  /external/guice/core/src/com/google/inject/
CreationException.java 19 import static com.google.common.base.Preconditions.checkArgument;
40 checkArgument(!this.messages.isEmpty());
ProvisionException.java 19 import static com.google.common.base.Preconditions.checkArgument;
41 checkArgument(!this.messages.isEmpty());
  /external/guava/guava/src/com/google/common/cache/
CacheBuilderSpec.java 19 import static com.google.common.base.Preconditions.checkArgument;
142 checkArgument(!keyAndValue.isEmpty(), "blank key-value pair");
143 checkArgument(keyAndValue.size() <= 2,
149 checkArgument(valueParser != null, "unknown key %s", key);
293 checkArgument(value != null && !value.isEmpty(), "value of key %s omitted", key);
309 checkArgument(value != null && !value.isEmpty(), "value of key %s omitted", key);
323 checkArgument(spec.initialCapacity == null,
333 checkArgument(spec.maximumSize == null,
335 checkArgument(spec.maximumWeight == null,
345 checkArgument(spec.maximumWeight == null
    [all...]
CacheStats.java 19 import static com.google.common.base.Preconditions.checkArgument;
80 checkArgument(hitCount >= 0);
81 checkArgument(missCount >= 0);
82 checkArgument(loadSuccessCount >= 0);
83 checkArgument(loadExceptionCount >= 0);
84 checkArgument(totalLoadTime >= 0);
85 checkArgument(evictionCount >= 0);
  /external/caliper/caliper/src/main/java/com/google/caliper/model/
Measurement.java 19 import static com.google.common.base.Preconditions.checkArgument;
113 checkArgument(weight > 0);
124 checkArgument(value != null);
125 checkArgument(weight != null);
126 checkArgument(description != null);
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ProvisionBinding.java 39 import static com.google.common.base.Preconditions.checkArgument;
95 checkArgument(constructorElement.getKind().equals(CONSTRUCTOR));
96 checkArgument(isAnnotationPresent(constructorElement, Inject.class));
97 checkArgument(!getQualifier(constructorElement).isPresent());
114 checkArgument(!key.qualifier().isPresent());
160 checkArgument(providesMethod.getKind().equals(METHOD));
161 checkArgument(contributedBy.getKind().equals(TypeKind.DECLARED));
163 checkArgument(providesAnnotation != null);
192 checkArgument(
231 checkArgument(componentMethod.getKind().equals(METHOD))
    [all...]
ProductionBinding.java 36 import static com.google.common.base.Preconditions.checkArgument;
109 checkArgument(producesMethod.getKind().equals(METHOD));
110 checkArgument(contributedBy.getKind().equals(TypeKind.DECLARED));
112 checkArgument(producesAnnotation != null);
146 checkArgument(
168 checkArgument(componentMethod.getKind().equals(METHOD));
169 checkArgument(componentMethod.getParameters().isEmpty());
170 checkArgument(MoreTypes.isTypeOf(ListenableFuture.class, componentMethod.getReturnType()));
  /external/guava/guava/src/com/google/common/io/
CharSequenceReader.java 19 import static com.google.common.base.Preconditions.checkArgument;
97 checkArgument(n >= 0, "n (%s) may not be negative", n);
117 checkArgument(readAheadLimit >= 0, "readAheadLimit (%s) may not be negative", readAheadLimit);
  /external/guava/guava/src/com/google/common/math/
DoubleUtils.java 19 import static com.google.common.base.Preconditions.checkArgument;
65 checkArgument(isFinite(d), "not a normal value");
139 checkArgument(!isNaN(value));
  /external/guava/guava/src/com/google/common/primitives/
SignedBytes.java 19 import static com.google.common.base.Preconditions.checkArgument;
63 // don't use checkArgument here, to avoid boxing
114 checkArgument(array.length > 0);
133 checkArgument(array.length > 0);
  /external/guava/guava-tests/test/com/google/common/collect/
ConstrainedSetMultimapTest.java 19 import static com.google.common.base.Preconditions.checkArgument;
45 checkArgument(!"test".equals(key));
46 checkArgument(!"test".equals(value));
  /frameworks/base/core/java/android/view/
KeyboardShortcutInfo.java 23 import static com.android.internal.util.Preconditions.checkArgument;
54 checkArgument(keycode >= KeyEvent.KEYCODE_UNKNOWN && keycode <= KeyEvent.getMaxKeyCode());
84 checkArgument(baseCharacter != MIN_VALUE);
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
ExternalCallList.java 47 Preconditions.checkArgument(telecomCall.getDetails()
58 Preconditions.checkArgument(mExternalCalls.contains(telecomCall));
75 Preconditions.checkArgument(mExternalCallListeners.contains(listener));
  /packages/apps/TV/common/src/com/android/tv/common/
SoftPreconditions.java 48 public static void checkArgument(final boolean expression, String tag, String msg) {
61 public static void checkArgument(final boolean expression) {
62 checkArgument(expression, null, null);
  /external/caliper/caliper/src/main/java/com/google/caliper/util/
ShortDuration.java 19 import static com.google.common.base.Preconditions.checkArgument;
51 checkArgument(duration >= 0, "negative duration: %s", duration);
52 checkArgument(duration <= MAXES.get(unit),
69 checkArgument(matcher.matches(), "Invalid ShortDuration: %s", s);
74 checkArgument(unit != null, "Unrecognized time unit: %s", abbrev);
90 checkArgument(picos > 0);
172 checkArgument(this == subtrahend);
185 checkArgument(divisor.compareTo(BigDecimal.ZERO) != 0);
211 checkArgument(picos > 0);
231 checkArgument(multiplicand >= 0, "negative multiplicand: %s", multiplicand)
    [all...]
  /external/guava/guava/src/com/google/common/hash/
BloomFilter.java 17 import static com.google.common.base.Preconditions.checkArgument;
113 checkArgument(numHashFunctions > 0,
115 checkArgument(numHashFunctions <= 255,
226 checkArgument(this != that, "Cannot combine a BloomFilter with itself.");
227 checkArgument(this.numHashFunctions == that.numHashFunctions,
230 checkArgument(this.bitSize() == that.bitSize(),
233 checkArgument(this.strategy.equals(that.strategy),
236 checkArgument(this.funnel.equals(that.funnel),
295 checkArgument(expectedInsertions >= 0, "Expected insertions (%s) must be >= 0",
297 checkArgument(fpp > 0.0, "False positive probability (%s) must be > 0.0", fpp)
    [all...]
ChecksumHashFunction.java 17 import static com.google.common.base.Preconditions.checkArgument;
38 checkArgument(bits == 32 || bits == 64, "bits (%s) must be either 32 or 64", bits);
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
BenchmarkMethods.java 19 import static com.google.common.base.Preconditions.checkArgument;
71 checkArgument(isTimeMethod(timeMethod));
  /external/guava/guava/src/com/google/common/collect/
EvictingQueue.java 19 import static com.google.common.base.Preconditions.checkArgument;
54 checkArgument(maxSize >= 0, "maxSize (%s) must >= 0", maxSize);

Completed in 709 milliseconds

1 2 3 4 5 6 7 8 91011>>