Examples of push()


Examples of edu.umd.cloud9.util.StackOfInts.push()

    public static void quicksortWithStack(short[] keys, int[] counts, int left, int right) {
        if (right <= left) return;
      StackOfInts lStack = new StackOfInts(), rStack = new StackOfInts();
     
      lStack.push(left);
      rStack.push(right);
        while(!lStack.isEmpty()){
          left = lStack.pop();
          right = rStack.pop();
          int i = partition(keys, counts, left, right);
          if (i-1 > left){

Examples of elemental.js.util.JsArrayOfString.push()

  private void injectModules() {
    super.onModuleLoad();
    final JsArrayOfString moduleNames = JsArrayOfString.create();
    final AngularModule[] modules = main();
    for (int i = 0; i < modules.length; i++) {
      moduleNames.push(((AngularModuleBase) modules[i]).moduleName());
    }
    bootstrap(moduleNames);
  }

  private native final boolean isInjected() /*-{
 

Examples of elemental.util.ArrayOfBoolean.push()

*/
public class ArrayTests extends GWTTestCase {
  private static ArrayOfBoolean arrayFrom(boolean... items) {
    final ArrayOfBoolean array = Collections.arrayOfBoolean();
    for (int i = 0, n = items.length; i < n; ++i) {
      array.push(items[i]);
    }
    return array;
  }

  private static ArrayOfNumber arrayFrom(double... items) {

Examples of elemental.util.ArrayOfInt.push()

  }

  private static ArrayOfInt arrayFrom(int... items) {
    final ArrayOfInt array = Collections.arrayOfInt();
    for (int i = 0, n = items.length; i < n; ++i) {
      array.push(items[i]);
    }
    return array;
  }

  private static ArrayOfString arrayFrom(String... items) {

Examples of elemental.util.ArrayOfNumber.push()

  }

  private static ArrayOfNumber arrayFrom(double... items) {
    final ArrayOfNumber array = Collections.arrayOfNumber();
    for (int i = 0, n = items.length; i < n; ++i) {
      array.push(items[i]);
    }
    return array;
  }

  private static ArrayOfInt arrayFrom(int... items) {

Examples of elemental.util.ArrayOfString.push()

  }

  private static ArrayOfString arrayFrom(String... items) {
    final ArrayOfString array = Collections.arrayOfString();
    for (int i = 0, n = items.length; i < n; ++i) {
      array.push(items[i]);
    }
    return array;
  }

  @SuppressWarnings("unchecked")

Examples of er.extensions.appserver.ERXKeepAliveResponse.push()

    ERXKeepAliveResponse response = responseForSessionIDNamed(sessionID, name);
    if (response != null) {
      StringBuilder sb = new StringBuilder();
      sb.append(message.length());
      sb.append(':');
      response.push(sb.toString());
      response.push(message);
    }
  }

  /**
 

Examples of fcagnin.jglsdk.glutil.MatrixStack.push()

        currMatrix.setMatrix( calcLookAtMatrix( camPos, camTarget, new Vec3( 0.0f, 1.0f, 0.0f ) ) );

        glUseProgram( theProgram );

        {
            currMatrix.push();
            currMatrix.scale( 100.0f, 1.0f, 100.0f );

            glUniform4f( baseColorUnif, 0.2f, 0.5f, 0.2f, 1.0f );
            glUniformMatrix4( modelToCameraMatrixUnif, false, currMatrix.top().fillAndFlipBuffer( mat4Buffer ) );

Examples of flex.messaging.client.FlexClient.push()

        FlexClient pushFlexClient = messageClient.getFlexClient();
        FlexContext.setThreadLocalFlexClient(pushFlexClient);
        FlexContext.setThreadLocalSession(null); // Null because we don't have a currently active endpoint for the push client.

        pushFlexClient.push(message, messageClient);

        // and reset thread locals.
        FlexContext.setThreadLocalFlexClient(requestFlexClient);
        FlexContext.setThreadLocalSession(requestFlexSession);
    }

Examples of fr.eolya.crawler.queue.ISourceItemsQueue.push()

      }
      for (int i=0; i<startingUrls.size(); i++) {
        if (!startingUrls.get(i).onlyFirstCrawl || !src.isFirstCrawlCompleted()) {
          if (haveSiteMode && !src.isFirstCrawlCompleted() && !"s".equals(startingUrls.get(i).mode)) continue;
          try {
            sourceQueue.push(startingUrls.get(i).getMap(src.getId()));
          } catch (Exception e) {
            e.printStackTrace();
          }
        }
      }
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.