- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 154 for getInstance (0.07 sec)
-
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
assertNotNull(TimeoutManager.getInstance().thread); Thread.sleep(2000); assertEquals(count, expiredCount); assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount()); task.cancel(); Thread.sleep(2000); assertEquals(0, TimeoutManager.getInstance().getTimeoutTaskCount()); assertNull(TimeoutManager.getInstance().thread); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
assertNull(map.getInstance(Integer.class)); assertNull(map.putInstance(int.class, 0)); assertNull(map.putInstance(Integer.class, 1)); assertEquals(2, map.size()); assertEquals(0, (int) map.getInstance(int.class)); assertEquals(1, (int) map.getInstance(Integer.class)); assertEquals(0, (int) map.putInstance(int.class, null));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
.put(int.class, 1) .build(); assertEquals(2, map.size()); assertEquals(0, (int) map.getInstance(Integer.class)); assertEquals(0, (int) map.getInstance(TypeToken.of(Integer.class))); assertEquals(1, (int) map.getInstance(int.class)); assertEquals(1, (int) map.getInstance(TypeToken.of(int.class))); } public void testParameterizedType() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
assertNull(map.get(Integer.class)); assertNull(map.getInstance(Integer.class)); map.put(Long.class, null); assertNull(map.get(Long.class)); assertNull(map.getInstance(Long.class)); } public void testPrimitiveAndWrapper() { assertNull(map.getInstance(int.class)); assertNull(map.getInstance(Integer.class)); assertNull(map.putInstance(int.class, 0));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate(in); KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); keyStore.load(null, null); keyStore.setCertificateEntry("server", certificate); TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
* that may have been bound to a subtype. * * <p>{@code getInstance(Foo.class)} is equivalent to {@code * getInstance(TypeToken.of(Foo.class))}. */ @CheckForNull <T extends @NonNull B> T getInstance(Class<T> type); /** * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Apr 22 01:15:23 UTC 2023 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToInstanceMap.java
* that may have been bound to a subtype. * * <p>{@code getInstance(Foo.class)} is equivalent to {@code * getInstance(TypeToken.of(Foo.class))}. */ @CheckForNull <T extends @NonNull B> T getInstance(Class<T> type); /** * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Apr 22 01:15:23 UTC 2023 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/util/Crypto.java
try { return MessageDigest.getInstance("MD4", getProvider()); } catch ( NoSuchAlgorithmException e ) { throw new CIFSUnsupportedCryptoException(e); } } /** * * @return MD5 digest */ public static MessageDigest getMD5 () { try { return MessageDigest.getInstance("MD5"); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Aug 17 17:34:29 UTC 2021 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
* {@link NoSuchAlgorithmException}が発生した場合 */ public static MessageDigest getInstance(final String algorithm) { assertArgumentNotEmpty("algorithm", algorithm); try { return MessageDigest.getInstance(algorithm); } catch (final NoSuchAlgorithmException e) { throw new NoSuchAlgorithmRuntimeException(e); } } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true); Enumeration<ASN1Object> fields = sequence.getObjects(); while ( fields.hasMoreElements() ) { tagged = (ASN1TaggedObject) fields.nextElement(); switch ( tagged.getTagNo() ) { case 0: sequence = ASN1Sequence.getInstance(tagged, true);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Oct 01 12:01:17 UTC 2023 - 7.9K bytes - Viewed (0)