Examples of intValue()


Examples of org.jgap.impl.IntegerGene.intValue()

            Gene g = program.get(i);

            if (g instanceof IntegerGene) {
                IntegerGene ig = (IntegerGene) g;
                inst = IntegerInstructionGene.getInstruction(ig.intValue(),
                        size);
            } else if (g instanceof InstructionGene) {
                inst = ((InstructionGene) g).getInstruction();
            }
View Full Code Here

Examples of org.jnetpcap.nio.JNumber.intValue()

    int r = Pcap.lookupNet(device, netp, maskp, errbuf);
    assertEquals(errbuf.toString(), 0, r);

    System.out.printf("device=%s netp=%X maskp=%X errbuf=%s\n", device, netp.intValue(),
        maskp.intValue(), errbuf.toString());
  }

 
  /**
   * Bug#1855589
View Full Code Here

Examples of org.jpos.util.TPS.intValue()

        };
    }

    public void actionPerformed(ActionEvent e) {
        TPS t = txnmgr.getTPS();
        tps.setText (Integer.toString (t.intValue()));
        tpsAvg.setText (String.format ("%.2f", t.getAvg()));
        tpsPeak.setText (Integer.toString (t.getPeak()));
    }

    public void ancestorAdded(AncestorEvent event) {
View Full Code Here

Examples of org.jtalks.jcommune.model.entity.JCommuneProperty.intValue()

    @Override
    public void sessionCreated(HttpSessionEvent se) {
        ServletContext servletContext = se.getSession().getServletContext();
        ApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);
        JCommuneProperty property = (JCommuneProperty) ctx.getBean("sessionTimeoutProperty");
        int timeoutInSeconds = (int) TimeUnit.SECONDS.convert(property.intValue(), TimeUnit.MINUTES);
        if (timeoutInSeconds > 0) {
            se.getSession().setMaxInactiveInterval(timeoutInSeconds);
        } else {
            /* Zero property value should mean infinitive session.
             To disable session expiration we should pass negative value here.
View Full Code Here

Examples of org.neo4j.batchimport.utils.Params.intValue()

        if (graphDb.exists()) {
            FileUtils.deleteRecursively(graphDb);
        }
        final long nodesToCreate = params.longValue("#nodes");
        ParallelImporter importer = new ParallelImporter(graphDb,nodesFile,relationshipsFile,
                nodesToCreate, params.intValue("#max-props-per-node"),
                params.intValue("#usual-rels-pernode"),
                params.intValue("#max-rels-per-node"),
                params.intValue("#max-props-per-rel"),
                params.string("rel,types").split(","), '\t', false);
        importer.init();
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.chart.ChartGapWidthAttribute.intValue()

   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getChartGapWidthAttribute() {
    ChartGapWidthAttribute attr = (ChartGapWidthAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "gap-width");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }

  /**
 
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.chart.ChartIntervalMinorDivisorAttribute.intValue()

   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getChartIntervalMinorDivisorAttribute() {
    ChartIntervalMinorDivisorAttribute attr = (ChartIntervalMinorDivisorAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "interval-minor-divisor");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }

  /**
 
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.chart.ChartOverlapAttribute.intValue()

   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getChartOverlapAttribute() {
    ChartOverlapAttribute attr = (ChartOverlapAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "overlap");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }

  /**
 
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.chart.ChartPieOffsetAttribute.intValue()

   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getChartPieOffsetAttribute() {
    ChartPieOffsetAttribute attr = (ChartPieOffsetAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "pie-offset");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }

  /**
 
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.chart.ChartRepeatedAttribute.intValue()

   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getChartRepeatedAttribute() {
    ChartRepeatedAttribute attr = (ChartRepeatedAttribute) getOdfAttribute(OdfDocumentNamespace.CHART, "repeated");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }

  /**
 
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.