Examples of push()


Examples of net.sourceforge.chaperon.helpers.IntegerList.push()

    long time = System.currentTimeMillis();

    int state = 0; // Current state
    int i, j, oldstate;
    IntegerList stack = new IntegerList();
    stack.push(0); // First state is zero
    Stack treestack = new Stack();

    int tokenindex = -1;   // Index of the token from the input

    while (true)

Examples of net.sourceforge.chaperon.process.extended.CharBuffer.push()

    CharBuffer buffer = new CharBuffer();

    assertTrue("Test if read is not possible", !buffer.available());

    char[] chars1 = "abcde".toCharArray();
    buffer.push(chars1, 1, 3)// "bcd"

    assertTrue("Test if read is possible", buffer.available());

    assertEquals("Test text", 'b', buffer.read());

Examples of omschaub.azcvsupdater.utilities.StackX.push()

                                    StackX to_string = new StackX(10);
                                    from_string.push(file);
                                   
                                    if ( View.getPluginInterface().getUtilities().isOSX() )
                                    {
                                        to_string.push(DirectoryUtils.getInstallDirectory()
                                            + "/Azureus.app/Contents/Resources/Java/"
                                            + "Azureus2.jar");
                                    }
                                    else
                                    {

Examples of org.antlr.runtime.tree.CommonTreeNodeStream.push()

    for (int k=1; k<=indexOf107; k++) { // consume til 107 node
      stream.consume();
    }
    // CALL 102
    assertEquals(107, ((Tree)stream.LT(1)).getType());
    stream.push(indexOf102);
    assertEquals(102, ((Tree)stream.LT(1)).getType());
    stream.consume(); // consume 102
    assertEquals(Token.DOWN, ((Tree)stream.LT(1)).getType());
    stream.consume(); // consume DN
    assertEquals(103, ((Tree)stream.LT(1)).getType());

Examples of org.apache.axis2.jaxws.message.util.StackableReader.push()

        try {
            StackableReader sr = (StackableReader)delegate;
            for (int i = blocks.size() - 1; i >= 0; i--) {
                Block block = blocks.get(i);
                if (block != null) {
                    sr.push(block.getXMLStreamReader(consume));
                }
            }
        } catch (WebServiceException me) {
            throw new XMLStreamException(me);
        }

Examples of org.apache.commons.collections.ArrayStack.push()

                while(!l.isEmpty()) {
                    rel = new File(rel, (String) l.pop());
                }
                return rel;
            }
            l.push(f.getName());
            f = f.getParentFile();
        }
        return new File(".");
    }

Examples of org.apache.commons.digester.Digester.push()

      // Configure the processing rules that we need
      digester.addCallMethod("web-app/servlet-mapping", "add", 2);
      digester.addCallParam("web-app/servlet-mapping/servlet-name", 0);
      digester.addCallParam("web-app/servlet-mapping/url-pattern", 1);

      digester.push(this);
      try {
        digester.parse(input);
      } catch (Exception e) {
        throw new ServletException("Could not parse /WEB-INF/web.xml", e);
      }

Examples of org.apache.commons.digester3.Digester.push()

        digester.addSetProperties( "root/bean" );
        digester.addSetNext( "root/bean", "addSimpleTestBean" );

        // Parse our test input.
        this.simpleTestBeans.clear();
        digester.push( this );
        digester.parse( input );

        assertEquals( 2, this.simpleTestBeans.size() );

        {

Examples of org.apache.cxf.helpers.NSStack.push()


    public void handleMessage(Message message) {
        try {
            NSStack nsStack = new NSStack();
            nsStack.push();

            BindingOperationInfo operation = (BindingOperationInfo) message.getExchange().get(
                            BindingOperationInfo.class.getName());

            assert operation.getName() != null;

Examples of org.apache.cxf.jaxrs.model.OperationResourceInfoStack.push()

                    }
                   
                }
            }
        }
        stack.push(new MethodInvocationInfo(ori, realClass, values));
    }
}
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.