public boolean equals(int position, BlockCursor... row) { for (int i = 0; i < channels.size(); i++) { ChannelBuilder thisBlock = this.channels.get(i); if (!thisBlock.equals(position, row[i])) { return false; } } return true; }
public boolean equals(int thisPosition, GroupByPageBuilder that, int thatPosition) { for (int i = 0; i < channels.size(); i++) { ChannelBuilder thisBlock = this.channels.get(i); ChannelBuilder thatBlock = that.channels.get(i); if (!thisBlock.equals(thisPosition, thatBlock, thatPosition)) { return false; } } return true; }