Examples of pop()


Examples of com.barrybecker4.game.twoplayer.go.board.elements.position.GoBoardPositionList.pop()

        assert box.contains(stone.getLocation()) : "stone " +  stone + " not in " + box;

        assert ( !stone.isVisited() ): "stone="+stone;
        stack.add( 0, stone );
        while ( !stack.isEmpty() ) {
            GoBoardPosition s = stack.pop();
            if ( !s.isVisited() ) {
                s.setVisited( true );
                stones.add( s );
                pushStringNeighbors(s, friendOwnedByP1, stack, true, type,  box);
            }
View Full Code Here

Examples of com.browseengine.bobo.sort.DocIDPriorityQueue.pop()

    int len = docQueue.size() - req.getOffset();
    if (len < 0) len = 0;
    SenseiHit[] hitArray = new SenseiHit[len];
    for (int i = hitArray.length-1; i>=0; --i)
    {
      tmpScoreDoc = (MyScoreDoc)docQueue.pop();
      hitArray[i] = tmpScoreDoc.getSenseiHit(req);
    }

    for (int i=0; i<hitArray.length; ++i)
      hitsList.add(hitArray[i]);
View Full Code Here

Examples of com.carmanconsulting.cassidy.pojo.assembly.AssemblyStack.pop()

            Class<? extends AssemblyStep> stepType = (Class<? extends AssemblyStep>) classResolver.resolveClass((String) column.getName().get(1));
            AssemblyStep step = CassidyUtils.instantiate(stepType);
            step.initializeFromColumn(column.getValue(), classResolver);
            step.execute(stack);
        }
        return stack.pop();
    }

    @Override
    public ComparatorType getComparatorType() {
        return ComparatorType.DYNAMICCOMPOSITETYPE;
View Full Code Here

Examples of com.caucho.quercus.env.ArrayValue.pop()

    StringValue chunk = string.substring(head);

    array.append(chunk);
   
    while (array.getSize() > 0 && limit++ < 0) {
      array.pop(env);
    }

    return array;
  }
View Full Code Here

Examples of com.caucho.quercus.env.ArrayValueImpl.pop()

    StringValue chunk = string.substring(head);

    array.append(chunk);
   
    while (array.getSize() > 0 && limit++ < 0) {
      array.pop(env);
    }

    return array;
  }
View Full Code Here

Examples of com.deitel.jhtp6.ch17.StackComposition.pop()

      {
         Object removedObject = null;

         while ( true )
         {
            removedObject = stack.pop(); // use pop method
            System.out.printf( "%s popped\n", removedObject );
            stack.print();
         } // end while
      } // end try
      catch ( EmptyListException emptyListException )
View Full Code Here

Examples of com.deitel.jhtp6.ch17.StackInheritance.pop()

      {
         Object removedObject = null;

         while ( true )
         {
            removedObject = stack.pop(); // use pop method
            System.out.printf( "%s popped\n", removedObject );
            stack.print();
         } // end while
      } // end try
      catch ( EmptyListException emptyListException )
View Full Code Here

Examples of com.facebook.presto.byteCode.Block.pop()

            clearComment = "clear wasNull";
        }

        Block isNull = new Block(context);
        for (Class<?> parameterType : stackArgsToPop) {
            isNull.pop(parameterType);
        }

        isNull.pushJavaDefault(returnType);
        String loadDefaultComment = null;
        if (returnType != void.class) {
View Full Code Here

Examples of com.facebook.swift.codec.internal.compiler.byteCode.MethodDefinition.pop()

                write.gotoLabel("field_end_" + field.getName());

                // cleanup stack for null field value
                write.visitLabel("field_is_null_" + field.getName());
                // pop value
                write.pop();
                // pop codec
                if (codecField != null) {
                    write.pop();
                }
                // pop id
View Full Code Here

Examples of com.foundationdb.sql.server.ServerCallContextStack.pop()

            ExecuteResults results = super.execute(context, bindings);
            success = true;
            return results;
        }
        finally {
            stack.pop(context, invocation, success);
        }
    }

    protected static JDBCResultSetMetaData resultSetMetaData(LoadablePlan<?> plan,
                                                             EmbeddedQueryContext context) {
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.