class SlidingWindows extends NonMergingWindowFn<Object, IntervalWindow> {

  @Override
  public void verifyCompatibility(WindowFn<?, ?> other) throws IncompatibleWindowException {
    if (!this.isCompatible(other)) {
      throw new IncompatibleWindowException(
          other,
          String.format(
              "Only %s objects with the same size, period and offset are compatible.",
              SlidingWindows.class.getSimpleName()));
    }
  }

  private  SlidingWindows(Duration period, Duration size, Duration offset);

}