public boolean matches(){
  if (mSoftMode) {
    long difference=mBits ^ mSync;
    return difference == 0 || Long.bitCount(difference) <= mSoftModeErrorThreshold;
  }
 else {
    return (mBits == mSync);
  }
}

public boolean matches ( ) { if ( mSoftMode ) { long difference = mBits ^ mSync ; return difference == 0 || Long . bitCount ( difference ) <= mSoftModeErrorThreshold ; } else { return ( mBits == mSync ) ; } }
indicates if the most recently received bit sequence matches the sync pattern
