- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,848 for instance (0.1 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
@CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_nullCollectionReference() { assertThrows(NullPointerException.class, () -> collection.addAll(null)); } /** * Returns the {@link Method} instance for {@link #testAddAll_nullUnsupported()} so that tests can * suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.8K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 20.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
* * <p>However, when {@link CollectionSize.Require} is used to annotate a test it behaves normally * (i.e. it requires the collection instance under test to be a certain size for the test to run). * Note that this means a test should not require more than one CollectionSize, since a particular * collection instance can only be one size at once. * * @author George van den Driessche */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ClassToInstanceMap.java
import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A map, each entry of which maps a Java <a href="http://tinyurl.com/2cmwkz">raw type</a> to an * instance of that type. In addition to implementing {@code Map}, the additional type-safe * operations {@link #putInstance} and {@link #getInstance} are available. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
if (update && getResponse.isExists()) { final IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE, index); indexRequestBuilder.setId(item.getId()).setOpType(IndexRequest.OpType.INDEX) .setSource(item.getUpdatedSource(getResponse.getSourceAsMap()));
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt
internal val delegate: RealConnectionPool, ) { internal constructor( maxIdleConnections: Int = 5, keepAliveDuration: Long = 5, timeUnit: TimeUnit = TimeUnit.MINUTES, taskRunner: TaskRunner = TaskRunner.INSTANCE, connectionListener: ConnectionListener = ConnectionListener.NONE, readTimeoutMillis: Int = 10_000, writeTimeoutMillis: Int = 10_000, socketConnectTimeoutMillis: Int = 10_000,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 03 20:39:41 UTC 2024 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
return withParameters(attribute, ImmutableSet.of(value)); } /** * Returns a new instance with the same type and subtype as this instance, with the {@code * charset} parameter set to the {@link Charset#name name} of the given charset. Only one {@code * charset} parameter will be present on the new instance regardless of the number set on this * one. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Sep 26 19:15:09 UTC 2024 - 47.5K bytes - Viewed (0) -
guava/src/com/google/common/math/BigDecimalMath.java
* @since 30.0 */ public static double roundToDouble(BigDecimal x, RoundingMode mode) { return BigDecimalToDoubleRounder.INSTANCE.roundToDouble(x, mode); } private static class BigDecimalToDoubleRounder extends ToDoubleRounder<BigDecimal> { static final BigDecimalToDoubleRounder INSTANCE = new BigDecimalToDoubleRounder(); private BigDecimalToDoubleRounder() {} @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/BigDecimalMath.java
* @since 30.0 */ public static double roundToDouble(BigDecimal x, RoundingMode mode) { return BigDecimalToDoubleRounder.INSTANCE.roundToDouble(x, mode); } private static class BigDecimalToDoubleRounder extends ToDoubleRounder<BigDecimal> { static final BigDecimalToDoubleRounder INSTANCE = new BigDecimalToDoubleRounder(); private BigDecimalToDoubleRounder() {} @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 3.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
Class.forName("com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider") AmazonCorrettoCryptoProvider.INSTANCE.loadingError == null && AmazonCorrettoCryptoProvider.INSTANCE.runSelfTests() == SelfTestStatus.PASSED } catch (e: ClassNotFoundException) { false } val isCorrettoInstalled: Boolean =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.3K bytes - Viewed (1)