Class RangeSetShouldIntersectAnyOf

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class RangeSetShouldIntersectAnyOf
    extends BasicErrorMessageFactory
    Creates an error message indicating that the given RangeSet does not intersect at lease one element of expected objects.
    • Constructor Detail

      • RangeSetShouldIntersectAnyOf

        private RangeSetShouldIntersectAnyOf​(java.lang.Object actual,
                                             java.lang.Object expected)
        Parameters:
        actual - actual RangeSet.
        expected - expected range to intersect.
    • Method Detail

      • shouldIntersectAnyOf

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