- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 396 for singleton (0.05 seconds)
-
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 30.1K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ProjectScopeProvider.java
* <p> * Example usage: * <pre> * public class CustomProjectScopeProvider implements ProjectScopeProvider { * public Collection<ProjectScope> provides() { * return Collections.singleton(projectScope("integration-test")); * } * } * </pre> * * @see org.apache.maven.api.ProjectScope * @see org.apache.maven.api.spi.ExtensibleEnumProvider * @since 4.0.0 */ @Experimental @Consumer
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
Artifact g = createLocalArtifact("g", "1.0"); Artifact h = createLocalArtifact("h", "1.0"); ArtifactResolutionResult result = artifactResolver.resolveTransitively( Collections.singleton(g), projectArtifact, remoteRepositories(), localRepository(), null); printErrors(result); assertEquals(2, result.getArtifacts().size()); assertTrue(result.getArtifacts().contains(g));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 26 10:49:22 GMT 2025 - 10.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
public final class CheckHandshake { /** Rejects otherwise-trusted certificates. */ private static final Interceptor CHECK_HANDSHAKE_INTERCEPTOR = new Interceptor() { final Set<String> denylist = Collections.singleton( "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig="); @Override public Response intercept(Chain chain) throws IOException {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java
} List<String> visitAll() { return visitAll(vertices.values(), new HashMap<>(), new ArrayList<>()); } List<String> findCycle(Vertex vertex) { return visitCycle(Collections.singleton(vertex), new HashMap<>(), new LinkedList<>()); } private static List<String> visitAll( Collection<Vertex> children, Map<Vertex, DfsState> stateMap, List<String> list) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.6K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LifecycleProvider.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 2.2K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java
* <p> * Example usage: * <pre> * public class CustomPathScopeProvider implements PathScopeProvider { * public Collection<PathScope> provides() { * return Collections.singleton(pathScope("integration-test", * ProjectScope.TEST, DependencyScope.TEST)); * } * } * </pre> * * @see org.apache.maven.api.PathScope * @see org.apache.maven.api.spi.ExtensibleEnumProvider
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 2.1K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LanguageProvider.java
* <p> * Example usage: * <pre> * public class CustomLanguageProvider implements LanguageProvider { * public Collection<Language> provides() { * return Collections.singleton(language("kotlin")); * } * } * </pre> * * @see org.apache.maven.api.Language * @see org.apache.maven.api.spi.ExtensibleEnumProvider * @since 4.0.0 */ @Experimental @Consumer @Named
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 1.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
* specified by the given {@code builder}. The returned {@link MapMakerInternalMap} will be * optimized to saved memory. Since {@link MapMaker.Dummy} is a singleton, we don't need to store * any values at all. Because of this optimization, {@code build.getValueStrength()} must be * {@link Strength#STRONG}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Present.java
checkNotNull(supplier); return reference; } @Override public T orNull() { return reference; } @Override public Set<T> asSet() { return Collections.singleton(reference); } @Override public <V> Optional<V> transform(Function<? super T, V> function) { return new Present<>( checkNotNull( function.apply(reference),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.5K bytes - Click Count (0)