- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,184 for isinstance (0.16 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java
/** * A simple {@link Supplier} of {@link SessionBuilder} instances, that on each call supplies newly * constructed instance. To create session out of builder, use {@link SessionBuilder#build()}. For proper closing * of sessions, use {@link CloseableSession#close()} method on built instance(s). * <p> * Extend this class and override methods to customize, if needed. * * @since 4.0.0
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
if (Serializable.class.isAssignableFrom(classToTest)) { try { Object instance = tester.instantiate(classToTest); if (instance != null) { if (isEqualsDefined(classToTest)) { SerializableTester.reserializeAndAssert(instance); } else { SerializableTester.reserialize(instance); } } } catch (Throwable e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
} @SuppressWarnings("ReturnValueIgnored") public void testMaximumWeight_withoutWeigher() { CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000")); assertThrows( IllegalStateException.class, () -> builder.build(CacheLoader.from(Suppliers.ofInstance(null)))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 19.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/KotlinInternalFilter.groovy
boolean matches(CtClass ctClass) { return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctClass) } @Override boolean matches(CtField ctField) { return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctField) } @Override boolean matches(CtBehavior ctBehavior) { return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctBehavior) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
} private static GetCheckedTypeValidator nonCachingWithoutConstructorCheckValidator() { return NonCachingWithoutConstructorCheckValidator.INSTANCE; } private enum NonCachingWithoutConstructorCheckValidator implements GetCheckedTypeValidator { INSTANCE; @Override public void validateClass(Class<? extends Exception> exceptionClass) { checkArgument(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 22 03:01:34 UTC 2022 - 6.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java
binder.bind(XmlNode.class) .annotatedWith(Names.named(extension.getKey())) .toInstance(configuration); binder.bind(PlexusConfiguration.class) .annotatedWith(Names.named(extension.getKey())) .toInstance(XmlPlexusConfiguration.toPlexusConfiguration(configuration)); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
architecture/build-state-model.md
The build tree state is managed by the `BuildTreeState` class. An instance is created at the start of a build execution and discarded at the end of the execution. ### Build state The "build state" holds the state for a build within the build definition for a single build execution, and is contained by the build tree state. The build state is managed by the `BuildState` class.
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed May 22 13:39:49 UTC 2024 - 3.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java
/** * A simple memorizing {@link Supplier} of {@link RepositorySystem} instance, that on first call * supplies lazily constructed instance, and on each subsequent call same instance. Hence, this instance should be * thrown away immediately once repository system was created and there is no need for more instances. If new * repository system instance needed, new instance of this class must be created. For proper shut down of returned
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 45.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NaturalOrdering.java
} @Override public <S extends Comparable<?>> Ordering<S> reverse() { return (Ordering<S>) ReverseNaturalOrdering.INSTANCE; } // preserving singleton-ness gives equals()/hashCode() for free private Object readResolve() { return INSTANCE; } @Override public String toString() { return "Ordering.natural()"; } private NaturalOrdering() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
return INSTANCE; } private static final long serialVersionUID = 0; } /* * The implementation neither produces nor consumes any non-null instance of * type C, so casting the type parameter is safe. */ @SuppressWarnings("unchecked") static <C extends Comparable> Cut<C> aboveAll() { return (Cut<C>) AboveAll.INSTANCE; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 12.2K bytes - Viewed (0)