Examples of addValue()


Examples of de.lessvoid.nifty.loaderv2.types.EffectTypeOnHover.addValue()

  public EffectTypeOnHover create() {
    EffectTypeOnHover effectTypeOnHover = new EffectTypeOnHover();
    effectTypeOnHover.initFromAttributes(attributes);
    for (int i=0; i<effectValues.size(); i++) {
      effectTypeOnHover.addValue(effectValues.get(i));
    }
    if (controlHoverAttributes != null) {
      effectTypeOnHover.setHover(controlHoverAttributes.create());
    }
    return effectTypeOnHover;
View Full Code Here

Examples of gr.ekt.bte.core.MutableRecord.addValue()

                    {
                        if (!pub.getFields().contains(field))
                        {
                            for (Value v : values)
                            {
                                pub.addValue(field, v);
                            }
                        }
                    }
                }
            }
View Full Code Here

Examples of ij.measure.ResultsTable.addValue()

    for (int row=0; row<max; row++) {
      rt.incrementCounter();
      for (int i=0; i<sets; i++) {
        float[] x = (float[])plot.storedData.get(i*2);
        float[] y = (float[])plot.storedData.get(i*2+1);
        if (row<x.length) rt.addValue("x"+i, x[row]);
        if (row<y.length) rt.addValue("y"+i, y[row]);
      }
    }
    return rt;
  }
View Full Code Here

Examples of inspector.jqcml.model.TableAttachment.addValue()

   
    // add the values
    for(int row = 0; row < body.length; row++) {
      String[] rowArr = body[row].split("\\s+");
      for(int column = 0; column < rowArr.length; column++) {
        ta.addValue(header[column], row, rowArr[column]);
      }
    }

    return ta;
  }
View Full Code Here

Examples of javax.naming.directory.BasicAttribute.addValue()

                if ( attribute == null )
                {
                    attribute = new Attribute( entryToModify, value.getAttribute().getDescription() );
                    entryToModify.addAttribute( attribute );
                }
                attribute.addValue( value );
            }
        }
    }

}
View Full Code Here

Examples of net.ivoa.fits.Header.addValue()

      Object tile = tiler.getTile(offset, size);
      ret = new ImageHDU(this.getHeader(), new ImageData(tile));

      Header retHeader = ret.getHeader();
      for (int i = 0; i < offset.length; i++) {
        retHeader.addValue(Header.NAXIS + (i + 1), size[i], "Axis "
            + (i + 1) + " size");
        double crpix = retHeader.getDoubleValue(CRPIX + (i + 1),
            Double.NaN);
        if (!Double.isNaN(crpix)) {
          retHeader.addValue(CRPIX + (i + 1), crpix - offset[i],
View Full Code Here

Examples of net.sf.rej.java.instruction.Parameters.addValue()

    Parameters copyParams = new Parameters();
    for(int i=0; i < params.getCount(); i++) {
          copyParams.addParam(params.getType(i));
            switch (params.getType(i)) {
            case TYPE_ARRAYTYPE:
              copyParams.addValue(params.getObject(i));
              break;
            case TYPE_LOCAL_VARIABLE:
            case TYPE_LOCAL_VARIABLE_READONLY:
            case TYPE_LOCAL_VARIABLE_WIDE:
              // TODO: should be done differently?
View Full Code Here

Examples of net.sf.services.soapjdbcgate.types.ArrayOfString.addValue()

        for ( Object object : params ) {
            if ( object instanceof Boolean ) {
                Boolean b = (Boolean) object;

                parameters.addValue( b ? "1" : "0" );

            } else {
                parameters.addValue( object == null ? null : object.toString() );

            } // if
View Full Code Here

Examples of net.sourceforge.aprog.tools.MathTools.Statistics.addValue()

     
      int progress = 0;
     
      for (final Future<Double> task : tasks) {
        System.out.print((progress++) + "/" + tasks.size() + " \r");
        statistics.addValue(task.get());
      }
     
      System.out.println("testingEntryCount: " + statistics.getCount());
      System.out.println("accuracy:" + statistics.getMean());
    } finally {
View Full Code Here

Examples of netscape.ldap.LDAPAttribute.addValue()

                LDAPAttributeSet attrs = new LDAPAttributeSet();
                LDAPAttribute attr = new LDAPAttribute("objectclass");

                for (int i = 0; i < objectclass_values.length; i++) {
                    attr.addValue(objectclass_values[i]);
                }

                attrs.add(attr);

                // The add string will look like this: cn=x,y|sn=u,z|x3=p...
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.