Interface MergeResolver

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultMergeResolver

public interface MergeResolver extends Serializable
Interface for determining whether two TimeLineRange objects can be merged together.
Implementations define the specific logic and criteria for merging timeline ranges.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determines whether two timeline ranges can be merged together.
  • Method Details

    • isMergeable

      boolean isMergeable(TimeLineRange rangeA, TimeLineRange rangeB)
      Determines whether two timeline ranges can be merged together. The specific criteria for merging depends on the implementation.
      Parameters:
      rangeA - the first TimeLineRange to evaluate
      rangeB - the second TimeLineRange to evaluate
      Returns:
      true if the ranges can be merged, false otherwise