Examples of push()


Examples of org.ofbiz.base.util.IndentingWriter.push()

            iw = new IndentingWriter(sw, doSpace, doNewline);
        } else {
            iw = new IndentingWriter(sw);
        }
        iw.write('a');
        iw.push();
        iw.write("b\nm");
        iw.newline();
        iw.write(new char[] {'1', '\n', '2'});
        iw.space();
        iw.write('\n');

Examples of org.ofbiz.base.util.collections.MapStack.push()

        if (!(context instanceof MapStack)) {
            context = MapStack.create(context);
        }
       
        MapStack contextMs = (MapStack) context;
        contextMs.push();

        // create a standAloneStack, basically a "save point" for this SectionsRenderer, and make a new "screens" object just for it so it is isolated and doesn't follow the stack down
        String entryName = this.entryNameExdr.expandString(context);
        String keyName = this.keyNameExdr.expandString(context);
        Object obj = listNameExdr.get(context);

Examples of org.omg.CosNotifyComm.PushConsumer.push()

        controlMessage.replay();

        MockControl controlPushConsumer = MockControl.createControl(PushConsumer.class);
        PushConsumer mockPushConsumer = (PushConsumer) controlPushConsumer.getMock();

        mockPushConsumer.push(any);
        controlPushConsumer.setThrowable(new RuntimeException());

        controlPushConsumer.replay();

        mockTaskProcessor_.executeTaskAfterDelay(0, null);

Examples of org.opencustomer.framework.webapp.panel.PanelStack.push()

       
        if(!validateAccess(request, panel))
            errors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("default.error.invalidEntity", panel.getEntity().getId()));
       
        PanelStack panelStack = Panel.getPanelStack(request);
        panelStack.push(panel);
       
        if(!errors.isEmpty())
        {
            this.saveErrors(request, errors);
           

Examples of org.osgi.service.coordinator.Coordination.push()

        assertEquals(c1, coordinator.peek());
        assertEquals(c1, coordinator.pop());

        assertNull(coordinator.peek());
        c1.push();
        assertEquals(c1, coordinator.peek());

        c1.end();
        assertNull(coordinator.peek());

Examples of org.ow2.asm.commons.GeneratorAdapter.push()

        m = Method.getMethod("void main (String[])");
        mg = new GeneratorAdapter(ACC_PUBLIC + ACC_STATIC, m, null, null, cw);
        mg.getStatic(Type.getType(System.class),
                "out",
                Type.getType(PrintStream.class));
        mg.push("Hello world!");
        mg.invokeVirtual(Type.getType(PrintStream.class),
                Method.getMethod("void println (String)"));
        mg.returnValue();
        mg.endMethod();

Examples of org.ozoneDB.data.SimpleArrayList.push()

                            }
                        }
                    }
                }
            } finally {
                callStack.push(callee);
            }
        }
    }

    /**
 

Examples of org.parboiled.common.IntArrayStack.push()

            char c = buffer[cursor++];
            sb.append(c);
            if (c != '\n') continue;

            newlines.push(cursor - 1);
            newlines2.push(cursor - indexDelta - 1);

            // consume line indent
            int indent = 0;
            loop2:
            while (cursor < length) {

Examples of org.pentaho.reporting.libraries.base.util.FastStack.push()

        final RenderNode firstChild = nBox.getFirstChild();
        if (firstChild != null)
        {
          // Open a non-empty box context
          contextStack.push(context);
          alignContextStack.push(alignContext);

          next = firstChild;

          final BoxAlignContext childBoxContext = new BoxAlignContext(nBox);
          alignContext.addChild(childBoxContext);

Examples of org.platformlayer.Scope.push()

        httpServletResponse.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
        return;
      }
    }

    authenticatedScope.push();
    try {
      filterChain.doFilter(servletRequest, servletResponse);
    } finally {
      authenticatedScope.pop();
    }
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.