docs: private int getKey(boolean activePrevious, boolean activeCurrent) {
          if (activePrevious) {
              return activeCurrent ? RETAINED : REMOVED;
          } else {
              // !activePrevious
              return activeCurrent ? ADDED : DEAD;
          }
      }