/** * Returns an <code>NonNegativeLong</code> object holding the value of * the specified string. * @param s The string to be parsed. * @return See above. */ public static NonNegativeLong valueOf(String s) { return new NonNegativeLong(Long.valueOf(s)); } }
/** * Transforms a Java type into the corresponding OMERO RType. * * @param value Java concrete type value. * @return RType or <code>null</code> if <code>value</code> is * <code>null</code>. */ public RLong toRType(NonNegativeLong value) { return value == null? null : rlong(value.getValue()); }
BinData_element.setAttribute("Length", length.toString());
setLength(NonNegativeLong.valueOf( element.getAttribute("Length")));
setLength(NonNegativeLong.valueOf( element.getAttribute("Length")));
/** * Returns an <code>NonNegativeLong</code> object holding the value of * the specified string. * @param s The string to be parsed. * @return See above. */ public static NonNegativeLong valueOf(String s) { return new NonNegativeLong(Long.valueOf(s)); } }
return new ome.units.quantity.Pressure(typedValue.getValue(), getBaseUnit(inModelUnit));
BinData_element.setAttribute("Length", length.toString());
setSize(NonNegativeLong.valueOf( element.getAttribute("Size")));
/** * Creates a new object. * * @param sizeX The number of pixels along the X-axis. * @param sizeY The number of pixels along the Y-axis. * @param bpp The number of bytes per pixels. * @return See above. */ public BinData createBinData(int sizeX, int sizeY, int bpp) { BinData data = new BinData(); data.setBigEndian(false); data.setCompression(Compression.NONE); data.setLength(new NonNegativeLong((long) (sizeX*sizeY*bpp))); return data; }
return new ome.units.quantity.Temperature(typedValue.getValue(), getBaseUnit(inModelUnit));
BinaryFile_element.setAttribute("Size", size.toString());
setSize(NonNegativeLong.valueOf( element.getAttribute("Size")));
store.setMaskBinData(rawBytes, roiCount, 0); store.setMaskBinDataBigEndian(true, roiCount, 0); store.setMaskBinDataLength(new NonNegativeLong((long)ROI_SPACING*ROI_SPACING), roiCount, 0); roiCount++; roiRefCount++;
return new ome.units.quantity.ElectricPotential(typedValue.getValue(), getBaseUnit(inModelUnit));
BinaryFile_element.setAttribute("Size", size.toString());
store.setMaskBinData(rawBytes, roiCount, 0); store.setMaskBinDataBigEndian(true, roiCount, 0); store.setMaskBinDataLength(new NonNegativeLong((long)ROI_SPACING*ROI_SPACING), roiCount, 0); roiCount++; roiRefCount++;
return new ome.units.quantity.Frequency(typedValue.getValue(), getBaseUnit(inModelUnit));
binData.setBigEndian(false); binData.setCompression(Compression.NONE); binData.setLength(new NonNegativeLong( (long) (SIZE_X * SIZE_Y * BYTES_PER_PIXEL))); pixels.addBinData(binData);
return new ome.units.quantity.Time(typedValue.getValue(), getBaseUnit(inModelUnit));