Examples of pop()


Examples of org.beangle.struts2.view.template.ThemeStack.pop()

    themestack.push(theme);
  }

  private void popTheme() {
    ThemeStack themestack = (ThemeStack) stack.getContext().get(Theme.THEME_STACK);
    themestack.pop();
    if (themestack.isEmpty()) stack.getContext().remove(Theme.THEME_STACK);
  }
}
View Full Code Here

Examples of org.codehaus.groovy.classgen.asm.OperandStack.pop()

                        Token.newSymbol("=", line, col),
                        valueExpression
                );
                bexp.setSourcePosition(entryExpression);
                bexp.visit(acg);
                operandStack.pop(); // consume argument
            }

            // load object
            mv.visitVarInsn(ALOAD, tmpObj);
View Full Code Here

Examples of org.elasticsearch.search.aggregations.bucket.terms.support.BucketPriorityQueue.pop()

        // Get the top buckets
        final InternalTerms.Bucket[] list = new InternalTerms.Bucket[ordered.size()];
        long survivingBucketOrds[] = new long[ordered.size()];
        for (int i = ordered.size() - 1; i >= 0; --i) {
            final LongTerms.Bucket bucket = (LongTerms.Bucket) ordered.pop();
            survivingBucketOrds[i] = bucket.bucketOrd;
            list[i] = bucket;
            otherDocCount -= bucket.docCount;
        }
     
View Full Code Here

Examples of org.elasticsearch.search.facet.terms.support.EntryPriorityQueue.pop()

                    }
                }
            }
            InternalShortTermsFacet.ShortEntry[] list = new InternalShortTermsFacet.ShortEntry[ordered.size()];
            for (int i = ordered.size() - 1; i >= 0; i--) {
                list[i] = (InternalShortTermsFacet.ShortEntry) ordered.pop();
            }

            for (ReaderAggregator aggregator : aggregators) {
                CacheRecycler.pushIntArray(aggregator.counts);
            }
View Full Code Here

Examples of org.exolab.castor.util.Stack.pop()

                                currentLoc = wInfo.location;
                                break;
                            }
                        }
                        handler.endElement(nsURI, wInfo.localName, wInfo.qName);
                        wrappers.pop();
                    }
                }
                catch(SAXException sx) {
                    throw new MarshalException(sx);
                }
View Full Code Here

Examples of org.geotools.graph.util.IndexedStack.pop()

      Node top = (Node)stack.peek();
     
      switch(visitor.visit(top)) {
        case END_PATH_AND_CONTINUE:
          paths.add(new Path(stack));
          stack.pop();
          continue;
       
        case END_PATH_AND_STOP:
          paths.add(new Path(stack));
          break O;
View Full Code Here

Examples of org.gocha.text.IndentStackWriter.pop()

            for(Map.Entry<String,String> kv : props.entrySet()){
                t.put( "key", TextUtil.htmlEncode(kv.getKey()) );
                t.put( "value", TextUtil.htmlEncode(kv.getValue()) );
                writer.println(TextUtil.template(metaTmpl, t));
            }
            String htmlMeta = writer.pop();
           
            t.putAll(props);
            t.put("htmlMeta", htmlMeta);
            t.put("htmlBody", htmlBody);
            t.put("charset", cs.name());
View Full Code Here

Examples of org.grails.web.encoder.OutputEncodingStack.pop()

            }

            throw new GrailsTagException("Tag [" + tagName + "] does not exist in tag library [" +
                    tagLib.getClass().getName() + "]");
        } finally {
            if (outputStack != null) outputStack.pop();
        }
    }

    public final static GroovyObject lookupCachedTagLib(TagLibraryLookup gspTagLibraryLookup,
                                                        String namespace, String tagName) {
View Full Code Here

Examples of org.grouplens.grapht.util.ClassLoaderContext.pop()

            }
            try {
                graph = readGraph(in);
            } finally {
                if (ctx != null) {
                    ctx.pop();
                }
            }
        } catch (ClassNotFoundException e) {
            throw new RecommenderConfigurationException(e);
        } finally {
View Full Code Here

Examples of org.ictclas4j.bean.Queue.pop()

        }

        // ��¼ÿһ���ڵ��N��ǰ����Ȩ��
        QueueNode minNode = null;
        int pathIndex = 0;
        while ((minNode = queWork.pop()) != null && pathIndex < pathCount) {
          pathWeight[cur][pathIndex] = minNode.getWeight();
          parent[cur].push(minNode);
          logger.debug("pathWeight[" + cur + "][" + pathIndex + "]:" + pathWeight[cur][pathIndex]);
          logger.debug("parent[" + cur + "]:" + parent[cur]);
          pathIndex++;
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.