Examples of pop()


Examples of org.apache.tapestry.services.Environment.pop()

        assertSame(r1, e.push(Runnable.class, r2));

        assertSame(r2, e.peek(Runnable.class));

        assertSame(r2, e.pop(Runnable.class));
        assertSame(r1, e.pop(Runnable.class));

        verify();
    }
View Full Code Here

Examples of org.apache.tapestry5.dom.Element.pop()

        F.flow(scripts).each(addScript);

        if (existing != null)
            scriptContainer.moveBefore(existing);

        scriptContainer.pop();
    }

    /**
     * Locates the head element under the root ("html") element, creating it if necessary, and adds the stylesheets to
     * it.
 
View Full Code Here

Examples of org.apache.tapestry5.services.Environment.pop()

        assertSame(r1, e.push(Runnable.class, r2));

        assertSame(r2, e.peek(Runnable.class));

        assertSame(r2, e.pop(Runnable.class));
        assertSame(r1, e.pop(Runnable.class));

        verify();
    }
View Full Code Here

Examples of org.apache.tools.ant.util.IdentityStack.pop()

            if (id.contains(o)) {
                throw circularReference();
            } else {
                id.push(o);
                ((DataType) o).dieOnCircularReference(id, project);
                id.pop();
            }
        }
        checked = true;
    }
View Full Code Here

Examples of org.apache.uima.internal.util.IntStack.pop()

      v.add(IntRBTArray.TERMINAL);
      if (addressStack.empty()) {
        node = null;
      } else {
        node = (IntRBTNode) nodeStack.pop();
        address = addressStack.pop();
        v.set(address, v.size() + offset);
      }
    } while (node != null);
    return v.toArray();
  }
View Full Code Here

Examples of org.apache.wicket.util.collections.ArrayListStack.pop()

          {
            // Found a match, create entries for all paths in
            // paths.
            while (node != null && paths.size() > 0)
            {
              path = (TreePath) paths.pop();
              node = node.createChildFor(path.getLastPathComponent());
            }
            return node;
          }
          paths.push(path);
View Full Code Here

Examples of org.apache.xalan.transformer.StackGuard.pop()

          {
            xctxt.popCurrentNode();
            transformer.popCurrentMatched();

            if (check)
              guard.pop();
          }
        }
      }
      finally
      {
View Full Code Here

Examples of org.apache.xerces.util.IntStack.pop()

                if (opStack.isEmpty()) {
                    return retValue;
                }

                op = (Op) opStack.pop();
                offset = dataStack.pop();

                switch (op.type) {
                case Op.CLOSURE:
                case Op.QUESTION:
                    if (retValue < 0) {
View Full Code Here

Examples of org.apache.xml.security.c14n.implementations.NameSpaceSymbTable.pop()

    public void testXmlnsMap() {
        NameSpaceSymbTable ns = new NameSpaceSymbTable();
        ns.push();
        ns.addMapping("xmlns", "http://a", node1);
        assertEquals(node1, ns.getMapping("xmlns"));
        ns.pop();
        assertEquals(null, ns.getMapping("xmlns"));       
    }
   
    @org.junit.Test
    public void testXmlnsMap2() {
View Full Code Here

Examples of org.apache.xmlbeans.XmlCursor.pop()

          String anchor = list.getEntryArray(i).getAnc();
          if (match(anchor, subscriberAor))
            return true;
        }
      }
      cursor.pop();
      if (cursor.toChild(OMA_COMMON_POLICY, "anonymous-request"))
      {
        return subscriberAor.equals("sip:anonymous@anonymous.invalid");
        // TODO add better support to anonymous-request
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.