public void receive(boolean bit1,boolean bit2){
  mBits=Long.rotateLeft(mBits,1);
  mBits&=mMask;
  if (bit1) {
    mBits+=1;
  }
  mBits=Long.rotateLeft(mBits,1);
  mBits&=mMask;
  if (bit2) {
    mBits+=1;
  }
  for (  ISyncProcessor processor : mSyncProcessors) {
    processor.checkSync(mBits);
  }
}

public void receive ( boolean bit1 , boolean bit2 ) { mBits = Long . rotateLeft ( mBits , 1 ) ; mBits &= mMask ; if ( bit1 ) { mBits += 1 ; } mBits = Long . rotateLeft ( mBits , 1 ) ; mBits &= mMask ; if ( bit2 ) { mBits += 1 ; } for ( ISyncProcessor processor : mSyncProcessors ) { processor . checkSync ( mBits ) ; } }
processes two bits before checking sync processors for a match .
