- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,674 for factory (0.16 sec)
-
platforms/core-runtime/file-temp/src/main/java/org/gradle/api/internal/file/temp/DefaultTemporaryFileProvider.java
import org.gradle.api.UncheckedIOException; import org.gradle.internal.Factory; import javax.annotation.Nullable; import java.io.File; import java.io.IOException; public class DefaultTemporaryFileProvider implements TemporaryFileProvider { private final Factory<File> baseDirFactory; public DefaultTemporaryFileProvider(final Factory<File> fileFactory) { this.baseDirFactory = fileFactory; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 19 21:16:13 UTC 2024 - 3.4K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/diagnosticProvider/AbstractCodeFragmentCollectDiagnosticsTest.kt
val isBlockFragment = fragmentText.any { it == '\n' } val project = mainFile.project val factory = KtPsiFactory(project, markGenerated = false) val codeFragment = when { isBlockFragment -> factory.createBlockCodeFragment(fragmentText, contextElement) else -> factory.createExpressionCodeFragment(fragmentText, contextElement) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Mar 27 16:04:54 UTC 2024 - 1.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/DefaultPolymorphicDomainObjectContainer.java
public <U extends T> void registerDefaultFactory(NamedDomainObjectFactory<U> factory) { Class<T> castType = Cast.uncheckedCast(getType()); registerFactory(castType, factory); } @Override public <U extends T> void registerFactory(Class<U> type, NamedDomainObjectFactory<? extends U> factory) { namedEntityInstantiator.registerFactory(type, factory); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 10 22:34:19 UTC 2021 - 5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java
} @Override public <T> Factory<T> getFactory(Class<T> type) { assertValidServiceType(type); Service provider = getFactoryService(type); Factory<T> factory = provider == null ? null : Cast.<Factory<T>>uncheckedCast(provider.get()); if (factory == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 53.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceLocator.java
for (ServiceFactory<T> factory : factories) { services.add(factory.create()); } return services; } @Override public <T> ServiceFactory<T> getFactory(final Class<T> serviceType) throws UnknownServiceException { ServiceFactory<T> factory = findFactory(serviceType); if (factory == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 8.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
) } } return AndroidSocketAdapter(possibleClass!!) } fun factory(packageName: String): DeferredSocketAdapter.Factory { return object : DeferredSocketAdapter.Factory { override fun matchesSocket(sslSocket: SSLSocket): Boolean = sslSocket.javaClass.name.startsWith("$packageName.")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/jansi/JansiLibraryFactoryIntegrationTest.groovy
class JansiLibraryFactoryIntegrationTest extends Specification { def factory = new JansiLibraryFactory() @Requires(UnitTestPreconditions.MacOs) def "jansi library can be created for MacOSX"() { when: JansiLibrary jansiLibrary = factory.create() then: jansiLibrary.platform == JansiOperatingSystemSupport.MAC_OS_X.identifier
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_SECURE_PROCESSING, true); factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false); factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
return new CustomMultimap<>(map, factory); } private static class CustomMultimap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapBasedMultimap<K, V> { transient Supplier<? extends Collection<V>> factory; CustomMultimap(Map<K, Collection<V>> map, Supplier<? extends Collection<V>> factory) { super(map);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 86.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimaps.java
return new CustomMultimap<>(map, factory); } private static class CustomMultimap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapBasedMultimap<K, V> { transient Supplier<? extends Collection<V>> factory; CustomMultimap(Map<K, Collection<V>> map, Supplier<? extends Collection<V>> factory) { super(map);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 86.4K bytes - Viewed (0)