Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }