Class ComparisonIndex


  • public final class ComparisonIndex
    extends Object
    Index of diffs in a comparison.
    • Method Detail

      • index

        public static ComparisonIndex index​(Comparison comparison,
                                            Monitor monitor)
        Utility method to index a comparison.
        Parameters:
        comparison - The comparison to index, O(nb. diff)
        monitor - the monitor
        Returns:
        The index of the given comparison.
      • getReferenceChangesByValueURI

        public Collection<ReferenceChange> getReferenceChangesByValueURI​(URI valueURI)
        The indexed ReferenceChanges whose value has the given URI (only unresolved proxies are indexed that way).
        Parameters:
        valueURI - The URI to look for
        Returns:
        A never null collection of ReferenceChanges whose value is unresolved and has the given URI