コード例 #1
0
ファイル: GroupByHash.java プロジェクト: Ravion/Presto-1
 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;
 }
コード例 #2
0
ファイル: GroupByHash.java プロジェクト: Ravion/Presto-1
 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;
 }