Ejemplo n.º 1
0
 /**
  * @param v
  * @exception DicomException
  */
 public void addValue(short v) throws DicomException {
   flushCachedCopies();
   values = ArrayCopyUtilities.expandArray(values);
   values[valueMultiplicity++] = v;
   valueLength += 2;
 }
Ejemplo n.º 2
0
 /** @exception DicomException */
 public double[] getDoubleValues() throws DicomException {
   if (cachedDoubleCopy == null)
     cachedDoubleCopy = ArrayCopyUtilities.copySignedShortToDoubleArray(values);
   return cachedDoubleCopy;
 }
Ejemplo n.º 3
0
 /** @exception DicomException */
 public long[] getLongValues() throws DicomException {
   if (cachedLongCopy == null)
     cachedLongCopy = ArrayCopyUtilities.copySignedShortToLongArray(values);
   return cachedLongCopy;
 }
Ejemplo n.º 4
0
 /** @exception DicomException */
 public float[] getFloatValues() throws DicomException {
   if (cachedFloatCopy == null)
     cachedFloatCopy = ArrayCopyUtilities.copySignedShortToFloatArray(values);
   return cachedFloatCopy;
 }
Ejemplo n.º 5
0
 /** @exception DicomException */
 public int[] getIntegerValues() throws DicomException {
   if (cachedIntegerCopy == null)
     cachedIntegerCopy = ArrayCopyUtilities.copySignedShortToIntArray(values);
   return cachedIntegerCopy;
 }