- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for toKey (1 sec)
-
platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/DefaultToolchainSpecTest.groovy
then: Matchers.strictlyEquals(spec11.toKey(), spec11.toKey()) Matchers.strictlyEquals(spec11.toKey(), spec11Impl1.toKey()) Matchers.strictlyEquals(spec11Vendor1.toKey(), spec11Vendor1.toKey()) !Matchers.strictlyEquals(spec11Vendor1.toKey(), spec11Vendor2.toKey()) !Matchers.strictlyEquals(spec11.toKey(), spec12.toKey()) Matchers.strictlyEquals(spec11Impl1.toKey(), spec11Impl1.toKey())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:55 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return delegate.get(checkValid(key)); } @Override public SortedMap<K, V> headMap(K toKey) { return headMap(toKey, false); } @Override public NavigableMap<K, V> headMap(K toKey, boolean inclusive) { return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive)); } @Override public @Nullable Entry<K, V> higherEntry(K key) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return delegate.get(checkValid(key)); } @Override public SortedMap<K, V> headMap(K toKey) { return headMap(toKey, false); } @Override public NavigableMap<K, V> headMap(K toKey, boolean inclusive) { return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive)); } @Override public @Nullable Entry<K, V> higherEntry(K key) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7.5K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/JavaToolchainSpecInternal.java
/** * A key corresponding to the spec that is an immutable snapshot of the spec properties * suitable for usage in collections. */ interface Key {} Key toKey(); /** * A spec is considered configured when at least {@link #getLanguageVersion() language version} is set. * <p> * A spec that is not configured always directly matches the toolchain of the current JVM.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 01 16:57:19 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/DefaultToolchainSpec.java
public DefaultToolchainSpec() { getVendor().convention(getConventionVendor()); getImplementation().convention(getConventionImplementation()); } @Override public JavaToolchainSpecInternal.Key toKey() { return new Key(getLanguageVersion().getOrNull(), getVendor().getOrNull(), getImplementation().getOrNull()); } @Override public boolean isConfigured() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 18:07:00 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/SpecificInstallationToolchainSpec.java
return objectFactory.newInstance(SpecificInstallationToolchainSpec.class, JavaExecutableUtils.resolveJavaHomeOfExecutable(executable)); } @Override public Key toKey() { return new Key(javaHome); } @Override public boolean isConfigured() { return true; } @Override public boolean isValid() { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 18:07:00 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/JavaToolchainQueryService.java
// We can't use the key of the fallback toolchain spec, because it is a spec that can match configured requests as well JavaToolchainSpecInternal.Key actualKey = useFallback ? FALLBACK_TOOLCHAIN_KEY : requestedSpec.toKey(); Object resolutionResult = matchingToolchains.computeIfAbsent(actualKey, key -> { try { return query(actualSpec, useFallback); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 08:02:27 UTC 2024 - 9.2K bytes - Viewed (0)