<p>Restore state information for all descendant components, as described
for <code>setRowIndex()</code>.</p>
195663
private void restoreDescendantState() {

        FacesContext context = getFacesContext();
        if (getChildCount() > 0) {
            for (UIComponent kid : getChildren()) {
                if (kid instanceof UIColumn) {
                    restoreDescendantState(kid, context);
                }
            }
        }

    }
377240
@SuppressWarnings("unchecked")
  @GwtIncompatible("ObjectInputStream")
  public void restoreContents(ObjectInputStream in) throws IOException, ClassNotFoundException {
    eachRefTypeIndexedByProperty = (Map<String, Map<String, ObjectType>>) in.readObject();
    interfaceToImplementors = (Multimap<String, FunctionType>) in.readObject();
    typesIndexedByProperty = (Multimap<String, JSType>) in.readObject();
  }
524240
public void resetData() {
    try (DbSession dbSession = dbClient.openSession(false);
      Connection connection = dbSession.getConnection()) {

      truncateAnalysisTables(connection);
      deleteManualRules(connection);
      truncateInternalProperties(null, null, connection);
      truncateUsers(null, null, connection);
      truncateOrganizations(null, null, connection);
    } catch (SQLException e) {
      throw new IllegalStateException("Fail to reset data", e);
    }

    clearIndex(IssueIndexDefinition.DESCRIPTOR);
    clearIndex(ViewIndexDefinition.DESCRIPTOR);
    clearIndex(ProjectMeasuresIndexDefinition.DESCRIPTOR);
    clearIndex(ComponentIndexDefinition.DESCRIPTOR);
  }
421898
public void resetRow(int rowsize) {

        if (out != null) {
            out.reset(rowsize);

            buf = out.getBuffer();
        }

        super.reset();
    }
1335042
public void reset() {
        targetFile = null;
        title = null;
        defaultTitle = null;
        inTitleElement = false;
        termStack.clear();
        topicIdStack.clear();
        indexTermSpecList.clear();
        indexSeeSpecList.clear();
        indexSeeAlsoSpecList.clear();
        indexSortAsSpecList.clear();
        topicSpecList.clear();
        indexTermList.clear();
        processRoleStack.clear();
        processRoleLevel = 0;
        titleMap.clear();
    }
1238319
public void reset() {
        resetSubmitted();
        resetSort();
        resetInvalidUpdates();
        localValues.clear();
        for (final SheetColumn c : getColumns()) {
            c.setFilterValue(null);
        }
    }
717329
private void removeRow(VerticalLayout layout, CmsResourceTypeStatResult result) {

        Component componentToRemove = null;
        Iterator<Component> iterator = layout.iterator();
        while (iterator.hasNext()) {
            Component component = iterator.next();
            if (component instanceof HorizontalLayout) {
                if (result.equals(((HorizontalLayout)component).getData())) {
                    componentToRemove = component;
                }
            }
        }
        if (componentToRemove != null) {
            layout.removeComponent(componentToRemove);
        }
    }
620741
@Override
    protected void reset() {
        super.reset();
        versionEndExcluding = null;
        versionEndIncluding = null;
        versionStartExcluding = null;
        versionStartIncluding = null;
        vulnerable = true;
    }
1188473
public void moveDown(I_CmsEditableGroupRow row) {

        int index = m_container.getComponentIndex(row);
        if ((index >= 0) && (index < (m_container.getComponentCount() - 1))) {
            m_container.removeComponent(row);
            m_container.addComponent(row, index + 1);
        }
        updateButtonBars();
    }
1088492
void removeRow() {

        HasComponents parent = CmsRemovableFormRow.this.getParent();
        if (parent instanceof ComponentContainer) {
            ((ComponentContainer)parent).removeComponent(CmsRemovableFormRow.this);
        }
        if (m_remove != null) {
            m_remove.run();
        }
    }
1355637
private function reset()
    {
        $this->prevRowKey = null;
        $this->rowKey = null;
        $this->state = self::$rowStateEnum['NEW_ROW'];
        $this->row = [];
    }
828614
void reindex(Session session, Index index) {

        setAccessor(index, null);

        RowIterator it = table.rowIterator(session);

        while (it.hasNext()) {
            Row row = it.getNextRow();

            // may need to clear the node before insert
            index.insert(session, this, row);
        }
    }
1033818
public void reset() {

        this.pp.setIndex(0);
        this.pp.setErrorIndex(-1);
        this.errorMessage = "";
        this.warning = false;
        this.rawValues = null;

    }
479912
@Override
    public void setRowId(int parameterIndex, RowId x) throws SQLException {
        internalStmt.setRowId(parameterIndex, x);
    }
1138196
public void restoreState() {
        content.append("Q").append_i(separator);
        int idx = stateList.size() - 1;
        if (idx < 0)
            throw new IllegalPdfSyntaxException("Unbalanced save/restore state operators.");
        state = (GraphicState)stateList.get(idx);
        stateList.remove(idx);
    }
254231
public void setIndex(int index) {
        ElementBase parent = getParent();
        
        if (parent == null) {
            CWFException.raise("Element has no parent.");
        }
        
        int currentIndex = parent.children.indexOf(this);
        
        if (currentIndex < 0 || currentIndex == index) {
            return;
        }
        
        parent.moveChild(currentIndex, index);
    }
208708
CompletableFuture<Void> resetIndexes(SessionId sessionId) {
    RaftSessionState sessionState = sessions.get(sessionId.id());
    if (sessionState == null) {
      return Futures.exceptionalFuture(new IllegalArgumentException("Unknown session: " + sessionId));
    }

    CompletableFuture<Void> future = new CompletableFuture<>();

    KeepAliveRequest request = KeepAliveRequest.builder()
        .withSessionIds(new long[]{sessionId.id()})
        .withCommandSequences(new long[]{sessionState.getCommandResponse()})
        .withEventIndexes(new long[]{sessionState.getEventIndex()})
        .build();

    connection.keepAlive(request).whenComplete((response, error) -> {
      if (error == null) {
        if (response.status() == RaftResponse.Status.OK) {
          future.complete(null);
        } else {
          future.completeExceptionally(response.error().createException());
        }
      } else {
        future.completeExceptionally(error);
      }
    });
    return future;
  }