in sdk/src/main/java/com/google/cloud/dataflow/sdk/util/WindowingStrategy.java [201:215]
public boolean equals(Object object) {
if (!(object instanceof WindowingStrategy)) {
return false;
}
WindowingStrategy<?, ?> other = (WindowingStrategy<?, ?>) object;
return
isTriggerSpecified() == other.isTriggerSpecified()
&& isAllowedLatenessSpecified() == other.isAllowedLatenessSpecified()
&& isModeSpecified() == other.isModeSpecified()
&& getMode().equals(other.getMode())
&& getAllowedLateness().equals(other.getAllowedLateness())
&& getClosingBehavior().equals(other.getClosingBehavior())
&& getTrigger().equals(other.getTrigger())
&& getWindowFn().equals(other.getWindowFn());
}