@Test public void equalsAndHashCode() { FilteredIndexRange<Integer, LongRange> x = FilteredIndexRange.of( LongRange.of(4, 10), 20, false); MoreAsserts.checkEqualsAndHashCodeMethods(x, x, true); MoreAsserts.checkEqualsAndHashCodeMethods( x, FilteredIndexRange.of(LongRange.of(5, 10), 20, true), false); MoreAsserts.checkEqualsAndHashCodeMethods( x, FilteredIndexRange.of(LongRange.of(4, 11), 20, true), false); MoreAsserts.checkEqualsAndHashCodeMethods( x, FilteredIndexRange.of(LongRange.of(4, 10), 21, true), false); }
public static <F, R> FilteredIndexRange<F, R> of( R indexRange, F filter, boolean potentialOverSelectivity) { return new FilteredIndexRange<F,R>(indexRange, filter, potentialOverSelectivity); }
FilteredIndexRange { public static <F, R> FilteredIndexRange<F, R> of( R indexRange, F filter, boolean potentialOverSelectivity) { return new FilteredIndexRange<F,R>(indexRange, filter, potentialOverSelectivity); } }
FilteredIndexRange { public static <F, R> FilteredIndexRange<F, R> of( R indexRange, F filter, boolean potentialOverSelectivity) { return new FilteredIndexRange<F,R>(indexRange, filter, potentialOverSelectivity); } FilteredIndexRange(R indexRange, F filter, boolean potentialOverSelectivity); }
FilteredIndexRange { public static <F, R> FilteredIndexRange<F, R> of( R indexRange, F filter, boolean potentialOverSelectivity) { return new FilteredIndexRange<F,R>(indexRange, filter, potentialOverSelectivity); } FilteredIndexRange(R indexRange, F filter, boolean potentialOverSelectivity); static FilteredIndexRange<F, R> of(
      R indexRange, F filter, boolean potentialOverSelectivity); R getIndexRange(); F getFilter(); boolean isPotentialOverSelectivity(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString(); @SuppressWarnings({"unchecked", "rawtypes"}) static Function<FilteredIndexRange<F, R>, F> filterExtractor(); @SuppressWarnings({"unchecked", "rawtypes"}) static Predicate<FilteredIndexRange<F, R>> potentialOverSelectivityExtractor(); static V sumRangeLengths(
    Iterable<FilteredIndexRange<F, R>> iterable, V zero); }
FilteredIndexRange { public static <F, R> FilteredIndexRange<F, R> of( R indexRange, F filter, boolean potentialOverSelectivity) { return new FilteredIndexRange<F,R>(indexRange, filter, potentialOverSelectivity); } FilteredIndexRange(R indexRange, F filter, boolean potentialOverSelectivity); static FilteredIndexRange<F, R> of(
      R indexRange, F filter, boolean potentialOverSelectivity); R getIndexRange(); F getFilter(); boolean isPotentialOverSelectivity(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString(); @SuppressWarnings({"unchecked", "rawtypes"}) static Function<FilteredIndexRange<F, R>, F> filterExtractor(); @SuppressWarnings({"unchecked", "rawtypes"}) static Predicate<FilteredIndexRange<F, R>> potentialOverSelectivityExtractor(); static V sumRangeLengths(
    Iterable<FilteredIndexRange<F, R>> iterable, V zero);  }