- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 346 for obj1 (0.02 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
// unmeasurable (comparing done AbstractFutures with immediateFuture) if (obj instanceof Cancellation) { Cancellation cancellation = (Cancellation) obj; Throwable cause = cancellation.cause; throw cancellationExceptionWithCause("Task was cancelled.", cause); } else if (obj instanceof Failure) { Failure failure = (Failure) obj; Throwable exception = failure.exception;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertEquals(offset, bytesWritten); } // Helper methods private Object getFieldValue(Object obj, String fieldName) { try { Field field = getField(obj.getClass(), fieldName); field.setAccessible(true); return field.get(obj); } catch (Exception e) { throw new RuntimeException("Failed to get field value: " + fieldName, e); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
public final int hashCode() { return (31 + method.hashCode()) * 31 + System.identityHashCode(target); } @Override public final boolean equals(@Nullable Object obj) { if (obj instanceof Subscriber) { Subscriber that = (Subscriber) obj; // Use == so that different equal instances will still receive events. // We only guard against the case that the same object is registered // multiple times
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
*/ private void setPrivateField(Object obj, String fieldName, Object value) throws Exception { Field field = obj.getClass().getDeclaredField(fieldName); field.setAccessible(true); field.set(obj, value); } /** * Helper method to get private field value using reflection */ private Object getPrivateField(Object obj, String fieldName) throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
this.problems = problems; } public Object run() { while (!interpolationTargets.isEmpty()) { Object obj = interpolationTargets.removeFirst(); traverseObjectWithParents(obj.getClass(), obj); } return null; } private String interpolate(String value) { return interpolator.interpolate(value);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Platform.java
static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); } @FormatMethod static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); } private Platform() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Platform.java
static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); } @FormatMethod static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); } private Platform() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 1.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
String expected = "test string"; Object obj = expected; String result = ASN1Util.as(String.class, obj); assertSame(expected, result); } @Test void testAs_Object_Failure() { // Test failed casting Object obj = 123; // Integer assertThrows(PACDecodingException.class, () -> { ASN1Util.as(String.class, obj);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Enums.java
@Override protected String doBackward(T enumValue) { return enumValue.name(); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof StringConverter) { StringConverter<?> that = (StringConverter<?>) obj; return this.enumClass.equals(that.enumClass); } return false; } @Override public int hashCode() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0)