java.util.Stack.removeAllElements()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(186)

本文整理了Java中java.util.Stack.removeAllElements()方法的一些代码示例,展示了Stack.removeAllElements()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Stack.removeAllElements()方法的具体详情如下:
包路径:java.util.Stack
类名称:Stack
方法名:removeAllElements

Stack.removeAllElements介绍

暂无

代码示例

代码示例来源:origin: robovm/robovm

  1. m_axesIteratorStack.removeAllElements();
  2. m_contextNodeLists.removeAllElements();
  3. m_currentExpressionNodes.removeAllElements();
  4. m_currentNodes.removeAllElements();

代码示例来源:origin: xalan/xalan

  1. m_axesIteratorStack.removeAllElements();
  2. m_contextNodeLists.removeAllElements();
  3. m_currentExpressionNodes.removeAllElements();
  4. m_currentNodes.removeAllElements();

代码示例来源:origin: alibaba/mdrill

  1. stack.removeAllElements();
  2. stack.push(getSymbolFactory().startSymbol("START", 0, start_state()));
  3. tos = 0;

代码示例来源:origin: geotools/geotools

  1. void reset() {
  2. nodes.removeAllElements();
  3. marks.removeAllElements();
  4. sp = 0;
  5. mk = 0;
  6. }

代码示例来源:origin: geotools/geotools

  1. void reset() {
  2. nodes.removeAllElements();
  3. marks.removeAllElements();
  4. sp = 0;
  5. mk = 0;
  6. }

代码示例来源:origin: alibaba/mdrill

  1. stack.removeAllElements();
  2. stack.push(getSymbolFactory().startSymbol("START",0, start_state()));
  3. tos = 0;

代码示例来源:origin: robovm/robovm

  1. m_currentMatchTemplates.removeAllElements();
  2. m_currentMatchedNodes.removeAllElements();

代码示例来源:origin: xalan/xalan

  1. m_currentMatchTemplates.removeAllElements();
  2. m_currentMatchedNodes.removeAllElements();

代码示例来源:origin: org.apache.lucene/lucene-analyzers-common

  1. public void rewind() {
  2. ns.removeAllElements();
  3. ks.setLength(0);
  4. cur = root;
  5. run();
  6. }

代码示例来源:origin: org.apache.jackrabbit/jackrabbit-spi-commons

  1. void reset() {
  2. nodes.removeAllElements();
  3. marks.removeAllElements();
  4. sp = 0;
  5. mk = 0;
  6. }

代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel

  1. void reset() {
  2. nodes.removeAllElements();
  3. marks.removeAllElements();
  4. sp = 0;
  5. mk = 0;
  6. }

代码示例来源:origin: net.open-esb.core/jbi-admin-common

  1. /**
  2. * Start of document processing.
  3. *
  4. * @throws org.xml.sax.SAXException
  5. * is any SAX exception, possibly wrapping another exception.
  6. */
  7. public void startDocument() throws SAXException {
  8. parsingInProgress = true;
  9. qNameStack.removeAllElements();
  10. }

代码示例来源:origin: org.eclipse/org.eclipse.jst.jsp.core

  1. void reset() {
  2. nodes.removeAllElements();
  3. marks.removeAllElements();
  4. sp = 0;
  5. mk = 0;
  6. }

代码示例来源:origin: taglibrarydoc/tlddoc

  1. void reset() {
  2. nodes.removeAllElements();
  3. marks.removeAllElements();
  4. sp = 0;
  5. mk = 0;
  6. }

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-compiler

  1. void reset() {
  2. nodes.removeAllElements();
  3. marks.removeAllElements();
  4. sp = 0;
  5. mk = 0;
  6. }

代码示例来源:origin: org.seasar.cms/tgwiki

  1. void reset() {
  2. nodes.removeAllElements();
  3. marks.removeAllElements();
  4. sp = 0;
  5. mk = 0;
  6. }

代码示例来源:origin: org.bitbucket.goalhub.simpleide/jedit

  1. void reset() {
  2. nodes.removeAllElements();
  3. marks.removeAllElements();
  4. sp = 0;
  5. mk = 0;
  6. }

代码示例来源:origin: org.jboss.aop/jboss-aop

  1. void reset() {
  2. nodes.removeAllElements();
  3. marks.removeAllElements();
  4. sp = 0;
  5. mk = 0;
  6. }

代码示例来源:origin: com.itextpdf/layout

  1. /**
  2. * Resets the Iterator to its initial state.
  3. */
  4. public void reset() {
  5. ns.removeAllElements();
  6. ks.setLength(0);
  7. cur = tt.root;
  8. run();
  9. }

代码示例来源:origin: com.itextpdf/itextpdf

  1. /**
  2. * Resets the graphics state stack, matrices and resources.
  3. */
  4. public void reset(){
  5. gsStack.removeAllElements();
  6. gsStack.add(new GraphicsState());
  7. textMatrix = null;
  8. textLineMatrix = null;
  9. resources = new ResourceDictionary();
  10. }

相关文章