- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 485 for myinstance (0.05 sec)
-
android/guava/src/com/google/common/base/Suppliers.java
@ParametricNullness T instance) { return new SupplierOfInstance<>(instance); } private static final class SupplierOfInstance<T extends @Nullable Object> implements Supplier<T>, Serializable { @ParametricNullness final T instance; SupplierOfInstance(@ParametricNullness T instance) { this.instance = instance; } @Override @ParametricNullness public T get() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
@ParametricNullness T instance) { return new SupplierOfInstance<>(instance); } private static final class SupplierOfInstance<T extends @Nullable Object> implements Supplier<T>, Serializable { @ParametricNullness final T instance; SupplierOfInstance(@ParametricNullness T instance) { this.instance = instance; } @Override @ParametricNullness public T get() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
*/ @GwtIncompatible // Class.cast, Class.isInstance public static <X extends Throwable> void throwIfInstanceOf( Throwable throwable, Class<X> declaredType) throws X { checkNotNull(throwable); if (declaredType.isInstance(throwable)) { throw declaredType.cast(throwable); } } /** * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@code * declaredType}. Example usage:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
// Act & Assert // unwrap to interface itself should return same instance CredentialsInternal unwrapped = creds.unwrap(CredentialsInternal.class); assertNotNull(unwrapped, "unwrap to CredentialsInternal returns instance"); assertSame(creds, unwrapped, "unwrap returns the same object instance"); // unwrap to unrelated type should return null (use another Credentials implementation)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RequestHeaderDbm.java
// ========= private static final RequestHeaderDbm _instance = new RequestHeaderDbm(); private RequestHeaderDbm() { } public static RequestHeaderDbm getInstance() { return _instance; } // ===================================================================================
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
} } catch (Throwable t) { // ensure we really catch *everything* } return JavaLittleEndianBytes.INSTANCE; } // Compare AbstractFuture.VarHandleAtomicHelperMaker. private enum VarHandleLittleEndianBytesMaker { INSTANCE { /** * Implementation used by non-J2ObjC environments (aside, of course, from those that have
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
internal fun <T> readFieldOrNull( instance: Any, fieldType: Class<T>, fieldName: String, ): T? { var c: Class<*> = instance.javaClass while (c != Any::class.java) { try { val field = c.getDeclaredField(fieldName) field.isAccessible = true val value = field.get(instance) return if (!fieldType.isInstance(value)) null else fieldType.cast(value)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/DuplicateHostDbm.java
// ========= private static final DuplicateHostDbm _instance = new DuplicateHostDbm(); private DuplicateHostDbm() { } public static DuplicateHostDbm getInstance() { return _instance; } // ===================================================================================
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RelatedQueryDbm.java
// ========= private static final RelatedQueryDbm _instance = new RelatedQueryDbm(); private RelatedQueryDbm() { } public static RelatedQueryDbm getInstance() { return _instance; } // ===================================================================================
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RoleTypeDbm.java
// ========= private static final RoleTypeDbm _instance = new RoleTypeDbm(); private RoleTypeDbm() { } public static RoleTypeDbm getInstance() { return _instance; } // ===================================================================================
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.1K bytes - Viewed (0)