docs: public void intersectWith(LockSet other) {
          for (int i = 0; i + 1 < array.length; i += 2) {
              int valueNumber = array[i];
              if (valueNumber < 0) {
                  break;
              }
              int myLockCount = array[i + 1];
              if (myLockCount <= 0) {
                  continue;
              }
              int otherLockCount = other.getLockCount(valueNumber);
              if (otherLockCount <= 0) {
                  /* This set holds the lock, but the other one doesn't. */
                  array[i + 1] = 0;
              }
          }
      }