Examples of push()


Examples of gnu.trove.stack.TIntStack.push()

    if (count <= 0) {
      return;
    }

    TIntStack parents = new TIntArrayStack();
    parents.push(rootNodeId);

    TIntStack parentsEntry = new TIntArrayStack();
    parentsEntry.push(-1);

    TIntArrayList savedValues = new TIntArrayList();

Examples of gnu.trove.stack.array.TIntArrayStack.push()

    if (count <= 0) {
      return;
    }

    TIntStack parents = new TIntArrayStack();
    parents.push(rootNodeId);

    TIntStack parentsEntry = new TIntArrayStack();
    parentsEntry.push(-1);

    TIntArrayList savedValues = new TIntArrayList();

Examples of gov.nysenate.openleg.processors.DataProcessor.push()

                    }
                    else {
                        System.err.println("Unable to push with an empty change log.");
                    }
                }
                process.push(Application.getStorage(), ChangeLogger.getEntries(), services);
            }
            else if (task.equalsIgnoreCase("archive")) {
                process.archive(env.getWorkingDirectory(), env.getArchiveDirectory());
            }
            else {

Examples of hudson.util.Digester2.push()

    @Override public SubversionChangeLogSet parse(@SuppressWarnings("rawtypes") Run build, RepositoryBrowser<?> browser, File changelogFile) throws IOException, SAXException {
        // http://svn.apache.org/repos/asf/subversion/trunk/subversion/svn/schema/log.rnc

        Digester digester = new Digester2();
        ArrayList<LogEntry> r = new ArrayList<LogEntry>();
        digester.push(r);

        digester.addObjectCreate("*/logentry", LogEntry.class);
        digester.addSetProperties("*/logentry");
        digester.addBeanPropertySetter("*/logentry/author","user");
        digester.addBeanPropertySetter("*/logentry/date");
 

Examples of info.s5d.assembly.AssemblyScript.push()

    String line;
    while ((line = bufferedreader.readLine()) != null) {
      String[] tokens = line.split("\\s"); //split by whitespace
      Instruction instruction = tokenhandler.getInstructionByToken(tokens[0]);
      instruction.readParametersFromTokens(tokens);
      script.push(instruction);
    }
   
    return script;
  }
}

Examples of io.iron.ironmq.Queue.push()

  @Override
  public void process(Message message) throws Exception {
    Client client = new Client(configuration.getProjectId(), configuration.getToken());
    Queue queue = client.queue(configuration.getQueueName());

    queue.push(message.getProperty("body", String.class));
  }

  @Override
  public IronMqProcessorConfig getConfiguration() {
    return configuration;

Examples of java.awt.EventQueue.push()

            private ClassLoader theCL;
            public void run() {
                Thread.currentThread().setContextClassLoader(loader);
                Toolkit tk = Toolkit.getDefaultToolkit();
                EventQueue eq = tk.getSystemEventQueue();
                eq.push(new EventQueue());
            }
          }
        );
    }
   

Examples of java.util.ArrayDeque.push()

               
        if ( beanContextStack == null ) {
            beanContextStack = new ArrayDeque();
            threadLocalContext.set(beanContextStack);
        }
        beanContextStack.push(bc);
    }

    public void externalPostInvoke() {
        try {
          ArrayDeque beanContextStack =

Examples of java.util.Deque.push()

            assertEquals(testInt[i], deque.pop());
        }               
        assertEquals(0, deque.size());
        assertEquals(0, que.size());
        for (int i = 0; i < testInt.length; i++) {
            deque.push(testInt[i]);
        }       
        assertEquals(100, deque.size());
        assertEquals(100, que.size());
        Collection col = new LinkedList<Integer>();
        col.add(test101);

Examples of java.util.LinkedList.push()

        for (int i = 1; i <= 15; i++) {
            /* pop i things from the shuffled list into the list remove,
             * then remove them in a bulk operation.
             */
            LinkedList<TrustGraphNodeId> remove = new LinkedList();
            for (int j = 0; j < i; j++) { remove.push(shuffled.pop()); }
            rt.removeNeighbors(remove);

            // make sure they're gone.
            for (TrustGraphNodeId n : remove) { assertFalse(rt.contains(n)); }
       
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.