- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for specs (0.13 sec)
-
maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
public void addArtifact(ArtifactSpec spec) { artifacts.put(getKey(spec.artifact), spec); String key = spec.artifact.getDependencyConflictId(); List<ArtifactVersion> artifactVersions = versions.computeIfAbsent(key, k -> new ArrayList<>()); if (spec.artifact.getVersion() != null) { artifactVersions.add(new DefaultArtifactVersion(spec.artifact.getVersion())); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* * @return a reference to {@code set}, for convenience */ // Note: S should logically extend Set<? super E> but can't due to either // some javac bug or some weirdness in the spec, not sure which. @CanIgnoreReturnValue public <S extends Set<E>> S copyInto(S set) { set.addAll(this); return set; } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
// Pretend the comparator can compare anything. If it turns out it can't // compare a and b, we should get a CCE or NPE on the subsequent line. Only methods // that are spec'd to throw CCE and NPE should call this. @SuppressWarnings({"unchecked", "nullness"}) Comparator<@Nullable Object> unsafeComparator = (Comparator<@Nullable Object>) comparator; return unsafeComparator.compare(a, b);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 36.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
checkNotNull(domain); if (isEmpty()) { return ImmutableSortedSet.of(); } Range<C> span = span().canonical(domain); if (!span.hasLowerBound()) { // according to the spec of canonical, neither this ImmutableRangeSet nor // the range have a lower bound throw new IllegalArgumentException( "Neither the DiscreteDomain nor this range set are bounded below");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 27.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java
int webserverPort = 8000; task.getJavaLauncher().set( task.getProject().getExtensions().getByType(JavaToolchainService.class) .launcherFor(spec -> spec.getLanguageVersion().set(JavaLanguageVersion.of(21))) ); task.getDocsDirectory().convention(extension.getDocumentationRenderedRoot()); task.getPort().convention(webserverPort);
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Apr 17 20:04:00 GMT 2024 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HttpHeaders.java
/** * The HTTP <a href="http://html.spec.whatwg.org/multipage/semantics.html#hyperlink-auditing"> * {@code Ping-From}</a> header field name. * * @since 19.0 */ public static final String PING_FROM = "Ping-From"; /** * The HTTP <a href="http://html.spec.whatwg.org/multipage/semantics.html#hyperlink-auditing"> * {@code Ping-To}</a> header field name.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:08:08 GMT 2024 - 34.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
} private Version parseVersion(String spec) { try { return versionScheme.parseVersion(spec); } catch (InvalidVersionSpecificationException e) { throw new RuntimeException(e); } } private VersionRange parseVersionRange(String spec) { try { return versionScheme.parseVersionRange(spec);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 27.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
* Object#equals(Object)}" as defined by {@link Comparator}. Use caution when building a {@link * SortedSet} or {@link SortedMap} from it, as the resulting collection will not behave exactly * according to spec. * * <p>This ordering is not serializable, as its implementation relies on {@link * System#identityHashCode(Object)}, so its behavior cannot be preserved across serialization. * * @since 2.0 */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 39.4K bytes - Viewed (0)