Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ListPropertyListView (0.69 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/internal/provider/views/ListPropertyListView.java

    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Implementation of List, that is used for Property upgrades
     */
    @NotThreadSafe
    public class ListPropertyListView<E> extends AbstractList<E> {
    
        private final ListProperty<E> delegate;
    
        public ListPropertyListView(ListProperty<E> delegate) {
            this.delegate = delegate;
        }
    
        @Override
        public E get(int index) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:28 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/GradleReferencedType.java

    public enum GradleReferencedType {
        DEPRECATION_LOGGER("org.gradle.internal.deprecation.DeprecationLogger"),
        GENERATED_ANNOTATION("org.gradle.api.Generated"),
        LIST_PROPERTY_LIST_VIEW("org.gradle.api.internal.provider.views.ListPropertyListView"),
        SET_PROPERTY_SET_VIEW("org.gradle.api.internal.provider.views.SetPropertySetView"),
        MAP_PROPERTY_MAP_VIEW("org.gradle.api.internal.provider.views.MapPropertyMapView");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. subprojects/core-api/src/test/groovy/org/gradle/api/internal/provider/views/ListPropertyListViewTest.groovy

            return collection as List<String>
        }
    
        @Override
        protected <T extends Collection<String>> T newCollection(HasMultipleValues<String> multipleValueProperty) {
            return new ListPropertyListView<>(multipleValueProperty as ListProperty<String>)
        }
    
        def "list specific modification operations work"() {
            given:
            def property = multiValueProperty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeCodeGenTest.groovy

            "ListProperty<String>"        | "List"           | "new ListPropertyListView<>(self.getProperty())" | ".set(arg0)"       | [SuppressWarnings, List, ListPropertyListView]
            "MapProperty<String, String>" | "Map"            | "new MapPropertyMapView<>(self.getProperty())"   | ".set(arg0)"       | [SuppressWarnings, Map, MapPropertyMapView]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top