Examples of reset()


Examples of com.insacosa.dragdrop.DragDropBeanCaract.reset()

   
    Tipus tipus = new Tipus();
    /*tipus.setKey(keyTipus == null ? 1 : keyTipus); // cuidado*/
   
    List<Caracteristiques> novaLlista = caracteristiquesFinder.caractTipus(tipus, 0, false)// 0 = caracteristiques booleanes
    dragDropBean.reset(novaLlista)
   
    dragDropBean.getSource().clear();
   
    Iterator<Caracteristiques> iter = novaLlista.iterator();
    while (iter.hasNext())
View Full Code Here

Examples of com.intellij.ui.TextFieldWithStoredHistory.reset()

    }

    @SuppressWarnings({"unchecked"})
    private static TextFieldWithStoredHistory createHistoryTextField(@NotNull String name, @NotNull String... defaultValues) {
        TextFieldWithStoredHistory storedHistory = new TextFieldWithStoredHistoryBugFixed(name);
        storedHistory.reset();
        List<String> list = storedHistory.getHistory();
        list.removeAll(Arrays.asList(defaultValues));
        if (list.isEmpty()) {
            // Default histories
            for (String defaultValue : defaultValues) {
View Full Code Here

Examples of com.itextpdf.text.pdf.ByteBuffer.reset()

            }
            if (kids != null) {
                ByteBuffer buf = new ByteBuffer();
                internalDispose(buf);
                ByteBuffer buf2 = cb.getInternalBuffer();
                buf2.reset();
                buf2.append(buf);
            }
        }
    }
View Full Code Here

Examples of com.jada.util.IdSecurity.reset()

          messages.add("login", new ActionMessage("content.error.login.invalid"));
      saveMessages(request, messages);
            ActionForward actionForward = actionMapping.findForward("error");
            return actionForward;
        }
        idSecurity.reset();
       
        ContentLookupDispatchAction.setCustId(request, customer.getCustId());
        // to init in order to avoid lazy initialization.
        customer.getRecCreateDatetime();
        mergeOrder(request, form, customer);
View Full Code Here

Examples of com.jbidwatcher.util.html.JHTML.reset()

      JHTML tinyDocument = new JHTML(dropped);
      List<String> allItemsOnPage = tinyDocument.getAllURLsOnPage(true);

      if(allItemsOnPage == null) {
        //  This could be an image drop.
        tinyDocument.reset();
        List<String> allImagesOnPage = tinyDocument.getAllImages();
        if(allImagesOnPage.isEmpty()) {
          return;
        }
View Full Code Here

Examples of com.jbidwatcher.util.xml.XMLElement.reset()

      if(type == htmlToken.HTML_TAG || type == htmlToken.HTML_SINGLETAG) {
        if(tok.getToken().startsWith("!")) continue;

        try {
          xe.reset();
          xe.parseString("<" + tok.getToken() + "/>");
        } catch(XMLParseException xpe) {
          JConfig.log().logVerboseDebug("eBay's HTML still sucks.");
          continue;
        }
View Full Code Here

Examples of com.jcraft.jzlib.CRC32.reset()

      return reply_int((int) crc.getValue());
    }
    case CRC32_2: {
      CRC32 crc = new CRC32();
      long init = cmd.getInt() & 0xffffffffL;
      crc.reset(init);
      crc.update(cmd.array(), cmd.arrayOffset()+cmd.position(), cmd.remaining());
      return reply_int((int) crc.getValue());
    }
    }
View Full Code Here

Examples of com.jitlogic.zorka.common.util.TapInputStream.reset()

    @Test
    public void testTapInputStreamWithMarkAndReset() throws Exception {
        TapInputStream tis = new TapInputStream(new ByteArrayInputStream("ABCDEF".getBytes()));

        tis.read(new byte[2]); tis.mark(100);
        tis.read(new byte[2]); tis.reset();
        tis.read(new byte[3]);

        assertEquals("ABCDE", tis.asString());
    }
View Full Code Here

Examples of com.jme3.shader.Uniform.reset()

    protected void resetUniformLocations(Shader shader) {
        ListMap<String, Uniform> uniforms = shader.getUniformMap();
        for (int i = 0; i < uniforms.size(); i++) {
            Uniform uniform = uniforms.getValue(i);
            uniform.reset(); // e.g check location again
        }
    }

    /*
     * (Non-javadoc)
 
View Full Code Here

Examples of com.jme3.system.NanoTimer.reset()

    // new loader each time, yes
    try {
      Geometry g;
      // need to load vial loadModel, JME does not see obj, etc as
      // Assets..
      t.reset();
      Spatial n = (Spatial) assetMan.loadModel(from.getAbsolutePath());
      time = t.getTimeInSeconds();
      System.out.println("File " + from.getAbsolutePath() + " loaded in "
          + time + " seconds");
      if (n instanceof Geometry) {
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.