public Tache pop(int id) {
    Map<Integer, Tache> m = table(id);
    Tache t = m.remove(id);
    if (t == null) return t;
    if (t.isTache()) {
      if (t.rid() != 0) ids(t.rid()).remove(id);
      if (id == lid) {
        Set<Integer> l = m.keySet();
        do {
          --lid;
        } while (l.contains(lid));
      }
    } else if (id == lrid) {
      Set<Integer> l = m.keySet();
      do {
        --lrid;
      } while (l.contains(lrid));
    }
    return t;
  }