- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for kwargs (0.14 sec)
-
android/guava/src/com/google/common/reflect/TypeResolver.java
Type[] toArgs = toParameterizedType.getActualTypeArguments(); checkArgument( fromArgs.length == toArgs.length, "%s not compatible with %s", fromParameterizedType, toParameterizedType); for (int i = 0; i < fromArgs.length; i++) { populateTypeMappings(mappings, fromArgs[i], toArgs[i]); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 24.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Strings.java
public static String lenientFormat( @CheckForNull String template, @CheckForNull @Nullable Object... args) { template = String.valueOf(template); // null -> "null" if (args == null) { args = new Object[] {"(Object[])null"}; } else { for (int i = 0; i < args.length; i++) { args[i] = lenientToString(args[i]); } } // start substituting the arguments into the '%s' placeholders
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Sep 17 20:47:03 GMT 2021 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
int cmpAsUInt = UnsignedInts.compare((int) a, (int) b); assertThat(Integer.signum(cmpAsUInt)).isEqualTo(Integer.signum(cmpAsLongs)); } } } public void testMax_noArgs() { try { UnsignedInts.max(); fail(); } catch (IllegalArgumentException expected) { } } public void testMax() { assertThat(UnsignedInts.max(LEAST)).isEqualTo(LEAST);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 12.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
assertGoodFeatureEnum(CollectionSize.class); assertGoodFeatureEnum(MapFeature.class); } private static String rootLocaleFormat(String format, Object... args) { return String.format(Locale.ROOT, format, args); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
this.delegate = checkNotNull(delegate); } @Override protected Object handleInvocation(Object proxy, Method method, Object[] args) throws Throwable { return method.invoke(delegate, args); } @Override public String toString() { return "some arbitrary string"; } }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
// Our distinct proxy doesn't work for collections. // So just refuse to generate. return null; } args.add(argValue); } return invokeGeneratorMethod(generate, args.toArray()); } return defaultGenerate(rawType); } private <T> @Nullable T defaultGenerate(Class<T> rawType) { if (rawType.isInterface()) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
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) { checkNotNull(arg); // to fulfill null check } } } private enum Gender { MALE,
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/util/concurrent/SimpleTimeLimiter.java
@Override @CheckForNull public Object invoke(Object obj, Method method, @CheckForNull @Nullable Object[] args) throws Throwable { Callable<@Nullable Object> callable = () -> { try { return method.invoke(target, args); } catch (InvocationTargetException e) { throw throwCause(e, false /* combineStackTraces */);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 27 14:21:11 GMT 2023 - 9.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
this.map = map; this.setUpRan = setUpRan; } @Override public Object invoke(Object target, Method method, Object[] args) throws Throwable { assertTrue("setUp should have run", setUpRan.get()); try { return method.invoke(map, args); } catch (InvocationTargetException e) { throw e.getCause(); } catch (IllegalAccessException e) { throw newLinkageError(e);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 11.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
this.map = map; this.setUpRan = setUpRan; } @Override public Object invoke(Object target, Method method, Object[] args) throws Throwable { assertTrue("setUp should have run", setUpRan.get()); try { return method.invoke(map, args); } catch (InvocationTargetException e) { throw e.getCause(); } catch (IllegalAccessException e) { throw newLinkageError(e);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 11.9K bytes - Viewed (0)