- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for arg (0.15 sec)
-
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
* * @param arg argument to record. */ @Subscribe public void recordingMethod(Object arg) { assertFalse(methodCalled); methodCalled = true; methodArgument = arg; } @Subscribe public void exceptionThrowingMethod(Object arg) throws Exception { throw new IntentionalException(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java
&& method.getParameterTypes()[0] == Object.class) { Object arg = args[0]; if (arg == null) { return false; } if (proxy == arg) { return true; } return isProxyOfSameInterfaces(arg, proxy.getClass()) && equals(Proxy.getInvocationHandler(arg)); } if (args.length == 0 && method.getName().equals("toString")) { return toString();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 05 17:43:40 GMT 2022 - 5.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
"staticOneArgNullableCorrectlyThrowsOtherThanNPE", "staticOneArgNullableThrowsNPE", }; private static final String[] STATIC_ONE_ARG_METHODS_SHOULD_FAIL = { "staticOneArgThrowsOtherThanNpe", "staticOneArgShouldThrowNpeButDoesnt", }; private static final String[] NONSTATIC_ONE_ARG_METHODS_SHOULD_PASS = { "oneArgCorrectlyThrowsNpe", "oneArgCheckForNullCorrectlyDoesNotThrowNPE",
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) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
} return (T) arg; } private Object convertPrimitiveWrapper(final Object arg) { return NumberConversionUtil.convertPrimitiveWrapper(propertyType, arg); } private Object convertNumber(final Object arg) { return NumberConversionUtil.convertNumber(propertyType, arg); } private Object convertDate(final Object arg) { if (propertyType == java.util.Date.class) {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 15.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java
} @Override public void init(Context context) throws Exception {} @Override public void onEvent(Object arg) throws Exception { if (arg instanceof ExecutionEvent) { ExecutionEvent ee = (ExecutionEvent) arg; InternalMavenSession session = InternalMavenSession.from(ee.getSession().getSession());
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs); } private static <T> T expectArgument(Class<T> type, Object arg) { try { return type.cast(arg); } catch (ClassCastException e) { throw new IllegalArgumentException(arg + " is not a " + type.getSimpleName()); } } /** A TypeTable maintains mapping from {@link TypeVariable} to types. */
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) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Parameter param = params.get(i); Object arg = args.get(i); // Use new fresh value generator because 'args' were populated with new fresh generator each. // Two newFreshValueGenerator() instances should normally generate equal value sequence. Object shouldBeEqualArg = generateDummyArg(param, newFreshValueGenerator()); if (arg != shouldBeEqualArg && Objects.equal(arg, shouldBeEqualArg)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
* garbage collection, <strong>AND</strong> this stream was not constructed with {@linkplain * #FileBackedOutputStream(int) the 1-arg constructor} or the {@linkplain * #FileBackedOutputStream(int, boolean) 2-arg constructor} passing {@code false} in the * second parameter. * </ul> * * <p>This class is thread-safe. * * @author Chris Nokleberg * @since 1.0 */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 8.2K bytes - Viewed (0)