Class RangeSetShouldIntersect

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class RangeSetShouldIntersect
    extends BasicErrorMessageFactory
    Creates an error message indicating that the given RangeSet does not intersect either another one RangeSet or some set of Range.
    • Constructor Detail

      • RangeSetShouldIntersect

        private RangeSetShouldIntersect​(java.lang.Object actual,
                                        java.lang.Object expected,
                                        java.lang.Object notIntersected)
        Parameters:
        actual - actual RangeSet.
        expected - expected RangeSet that have to be intersected.
        notIntersected - not intersected ranges.
    • Method Detail

      • shouldIntersect

        public static ErrorMessageFactory shouldIntersect​(com.google.common.collect.RangeSet<?> actual,
                                                          java.lang.Object expected,
                                                          java.lang.Iterable<?> notIntersected)