Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PropertyDiffListener (0.23 sec)

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

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.execution.history.changes;
    
    public interface PropertyDiffListener<K, VP, VC> {
        boolean removed(K previousProperty);
    
        boolean added(K currentProperty);
    
        boolean updated(K property, VP previous, VC current);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 865 bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/SortedMapDiffUtil.java

    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) {
            Iterator<? extends Map.Entry<K, ? extends VC>> currentEntries = current.entrySet().iterator();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/AbstractFingerprintChanges.java

            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) {
                    return true;
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/SortedMapDiffUtilTest.groovy

            Map result = [added: [], removed: [], updated: []]
            SortedMapDiffUtil.diff(previousMap, currentMap, new PropertyDiffListener<String, String, String>() {
                @Override
                boolean removed(String previousProperty) {
                    result.removed.add(previousProperty)
                    return true
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. 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;
                }
    
                @Override
    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