Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetValueSnapshot (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/SnapshotSerializer.java

                encoder.writeString(enumSnapshot.getClassName());
                encoder.writeString(enumSnapshot.getName());
            } else if (snapshot instanceof SetValueSnapshot) {
                SetValueSnapshot setSnapshot = (SetValueSnapshot) snapshot;
                encoder.writeSmallInt(SET_SNAPSHOT);
                encoder.writeSmallInt(setSnapshot.getElements().size());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            def snapshot1 = snapshotter.snapshot([] as Set)
            snapshot1 instanceof SetValueSnapshot
            snapshot1 == snapshotter.snapshot([] as Set)
            snapshot1 != snapshotter.snapshot("abc")
            snapshot1 != snapshotter.snapshot([])
    
            def snapshot2 = snapshotter.snapshot(["123"] as Set)
            snapshot2 instanceof SetValueSnapshot
            snapshot2 == snapshotter.snapshot(["123"] as Set)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
Back to top