Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ListSerializer (0.15 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ListSerializer.java

    package org.gradle.internal.serialize;
    
    import com.google.common.collect.Lists;
    
    import java.util.Collections;
    import java.util.List;
    
    public class ListSerializer<T> extends AbstractCollectionSerializer<T, List<T>> implements Serializer<List<T>> {
    
        public ListSerializer(Serializer<T> entrySerializer) {
            super(entrySerializer);
        }
    
        @SuppressWarnings("MixedMutabilityReturnType")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/ListSerializerTest.groovy

        def "serialize list of strings"() {
            when:
            def serializer = new ListSerializer(stringSerializer)
    
            then:
            serialize(["one", "two", "three"], serializer) == ["one", "two", "three"]
        }
    
        def "serialize list of longs"() {
            when:
            def serializer = new ListSerializer(BaseSerializerFactory.LONG_SERIALIZER)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/SelectOptionPromptEventSerializer.java

    import org.gradle.internal.serialize.Encoder;
    import org.gradle.internal.serialize.ListSerializer;
    import org.gradle.internal.serialize.Serializer;
    
    import java.util.List;
    
    public class SelectOptionPromptEventSerializer implements Serializer<SelectOptionPromptEvent> {
        private final Serializer<List<String>> optionsSerializer = new ListSerializer<String>(BaseSerializerFactory.STRING_SERIALIZER);
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/StyledTextOutputEventSerializerTest.groovy

    import org.gradle.internal.logging.events.StyledTextOutputEvent
    import org.gradle.internal.logging.text.StyledTextOutput
    import org.gradle.internal.serialize.BaseSerializerFactory
    import org.gradle.internal.serialize.ListSerializer
    import org.gradle.internal.serialize.Serializer
    import spock.lang.Subject
    
    @Subject(StyledTextOutputEventSerializer)
    class StyledTextOutputEventSerializerTest extends LogSerializerSpec {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerLoggingSerializer.java

    import org.gradle.internal.logging.text.StyledTextOutput;
    import org.gradle.internal.serialize.BaseSerializerFactory;
    import org.gradle.internal.serialize.DefaultSerializerRegistry;
    import org.gradle.internal.serialize.ListSerializer;
    import org.gradle.internal.serialize.Serializer;
    import org.gradle.internal.serialize.SerializerRegistry;
    
    public class WorkerLoggingSerializer {
    
        public static SerializerRegistry create() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ThisBuildOnlySelectedVariantSerializer.java

    import org.gradle.internal.resolve.caching.DesugaringAttributeContainerSerializer;
    import org.gradle.internal.serialize.Decoder;
    import org.gradle.internal.serialize.Encoder;
    import org.gradle.internal.serialize.ListSerializer;
    import org.gradle.internal.serialize.Serializer;
    
    import javax.annotation.concurrent.ThreadSafe;
    import java.io.IOException;
    import java.util.List;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top