- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 124 for sargument (0.46 sec)
-
android/guava/src/com/google/common/base/Preconditions.java
* * <p>would be flagged as having called {@code sqrt()} with an illegal argument. * * <h3>Performance</h3> * * <p>Avoid passing message arguments that are expensive to compute; your code will always compute * them, even though they usually won't be needed. If you have such arguments, use the conventional * if/throw idiom instead. * * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
assertEquals("Default value for parameter #" + i, expectedValues[i], arguments.get(i)); } } final Object getDefaultParameterValue(int position) { return arguments.get(position); } final void calledWith(Object... args) { for (int i = 0; i < args.length; i++) { if (args[i] != null) { arguments.put(i, args[i]); } } for (Object arg : args) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 47.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
List<?> partsList = Arrays.<@Nullable Object>asList(parts); return join(partsList); } /** * Returns a string containing the string representation of each argument, using the previously * configured separator between each. */ public final String join( @CheckForNull Object first, @CheckForNull Object second, @Nullable Object... rest) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
return response; } private Object invokeMethod(String methodName, Object... arguments) throws Exception { return getMethod(methodName, arguments).invoke(lockLikeObject, arguments); } private Method getMethod(String methodName, Object... arguments) throws Exception { METHODS: for (Method method : lockLikeObject.getClass().getMethods()) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
inputFuture.cancel(true); // argument is ignored assertThrows(CancellationException.class, () -> resultFuture.get()); } public void testFutureGetThrowsCancellationIfOutputCancelled() throws Exception { inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA); outputFuture.cancel(true); // argument is ignored assertThrows(CancellationException.class, () -> resultFuture.get()); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
* @param warmupPeriod the duration of the period where the {@code RateLimiter} ramps up its rate, * before reaching its stable (maximum) rate * @param unit the time unit of the warmupPeriod argument * @throws IllegalArgumentException if {@code permitsPerSecond} is negative or zero or {@code * warmupPeriod} is negative */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
checkNotNull(arguments); checkArgument(rawType.getEnclosingClass() != null, "Owner type for unenclosed %s", rawType); return new ParameterizedTypeImpl(ownerType, rawType, arguments); } /** Returns a type where {@code rawType} is parameterized by {@code arguments}. */ static ParameterizedType newParameterizedType(Class<?> rawType, Type... arguments) { return new ParameterizedTypeImpl(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java
* collection generator. * * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide * a one-arg constructor accepting its inner generator as an argument. This requirement enables it * to generate source code (since GWT cannot use reflection to generate the suites). * * @author Chris Povirk */ @GwtCompatible public interface DerivedGenerator {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 1.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
return future instanceof FluentFuture ? (FluentFuture<V>) future : new ForwardingFluentFuture<V>(future); } /** * Simply returns its argument. * * @deprecated no need to use this * @since 28.0 */ @Deprecated public static <V extends @Nullable Object> FluentFuture<V> from(FluentFuture<V> future) { return checkNotNull(future);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 11 19:08:44 GMT 2023 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/ForwardingCacheTest.java
@Override public void setUp() throws Exception { super.setUp(); /* * Class parameters must be raw, so we can't create a proxy with generic * type arguments. The created proxy only records calls and returns null, so * the type is irrelevant at runtime. */ mock = mock(Cache.class); forward = new ForwardingCache<String, Boolean>() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.1K bytes - Viewed (0)