Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SortedMapDiffUtil (0.19 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/SortedMapDiffUtil.java

     */
    
    package org.gradle.internal.execution.history.changes;
    
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.SortedMap;
    
    public class SortedMapDiffUtil {
    
        private SortedMapDiffUtil() {}
    
        public static <K, VP, VC> boolean diff(SortedMap<K, ? extends VP> previous, SortedMap<K, ? extends VC> current, PropertyDiffListener<K, VP, VC> diffListener) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/AbstractFingerprintChanges.java

            this.previous = previous;
            this.current = current;
            this.title = title;
        }
    
        @Override
        public boolean accept(ChangeVisitor visitor) {
            return SortedMapDiffUtil.diff(previous, current, new PropertyDiffListener<String, FileCollectionFingerprint, CurrentFileCollectionFingerprint>() {
                @Override
                public boolean removed(String previousProperty) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/SortedMapDiffUtilTest.groovy

            SortedMap<String, String> currentMap = ImmutableSortedMap.copyOf(current.collectEntries { [(it): 'current' + it] })
    
            Map result = [added: [], removed: [], updated: []]
            SortedMapDiffUtil.diff(previousMap, currentMap, new PropertyDiffListener<String, String, String>() {
                @Override
                boolean removed(String previousProperty) {
                    result.removed.add(previousProperty)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/OutputFileChanges.java

            this.previous = previous;
            this.current = current;
        }
    
        @Override
        public boolean accept(ChangeVisitor visitor) {
            return SortedMapDiffUtil.diff(previous, current, new PropertyDiffListener<String, FileSystemSnapshot, FileSystemSnapshot>() {
                @Override
                public boolean removed(String previousProperty) {
                    return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top