- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setSupplier (0.15 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java
if (value.isMissing()) { setSupplier(noValueSupplier()); } else if (value.hasFixedValue()) { setSupplier(new FixedSupplier<>(value.getFixedValue(), Cast.uncheckedCast(value.getSideEffect()))); } else { CollectingProvider<T, C> asCollectingProvider = Cast.uncheckedNonnullCast(value.getChangingValue());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 29.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java
if (value.isMissing()) { setSupplier(noValueSupplier()); } else if (value.hasFixedValue()) { setSupplier(new FixedSupplier<>(uncheckedNonnullCast(value.getFixedValue()), uncheckedCast(value.getSideEffect()))); } else { CollectingProvider<K, V> asCollectingProvider = uncheckedNonnullCast(value.getChangingValue());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 32.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java
public void disallowUnsafeRead() { state.disallowUnsafeRead(); } protected abstract S finalValue(EvaluationContext.ScopeContext context, S value, ValueConsumer consumer); protected void setSupplier(S supplier) { assertCanMutate(); this.value = state.explicitValue(supplier); } protected void setConvention(S convention) { assertCanMutate();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:54 UTC 2024 - 15.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/model/CalculatedValueContainer.java
* * Note: some other thread may currently be calculating the value */ public S getSupplier() throws IllegalStateException { CalculationState<T, S> calculationState = this.calculationState; if (calculationState == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:19 UTC 2024 - 10.3K bytes - Viewed (0)