Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for calculateOwnPresentValue (0.27 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractMinimalProvider.java

            return DEFAULT_DISPLAY_NAME;
        }
    
        protected abstract ValueSupplier.Value<? extends T> calculateOwnValue(ValueConsumer consumer);
    
        protected Value<? extends T> calculateOwnPresentValue() {
            Value<? extends T> value = calculateOwnValue(ValueConsumer.IgnoreUnsafeRead);
            if (value.isMissing()) {
                throw new MissingValueException(cannotQueryValueOf(value));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

        public void appendAll(Provider<? extends Iterable<? extends T>> provider) {
            withActualValue(it -> it.addAll(provider));
        }
    
        @Override
        public int size() {
            return calculateOwnPresentValue().getWithoutSideEffect().size();
        }
    
        /**
         * Adds the given supplier as the new root supplier for this collection.
         *
         * @param collector the collector to add
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top