org.dcm4che2.util
Class GenericNumericArray

java.lang.Object
  extended by org.dcm4che2.util.GenericNumericArray

public abstract class GenericNumericArray
extends java.lang.Object


Constructor Summary
GenericNumericArray()
           
 
Method Summary
static GenericNumericArray create(byte[] array)
           
static GenericNumericArray create(short[] array)
           
abstract  void fillRange(int fromIndex, int toIndex, java.lang.Number val)
           
abstract  java.lang.Object getArray()
           
abstract  java.lang.Number getArrayItem(int index)
           
static GenericNumericArray getByteArray(int size)
           
static GenericNumericArray getShortArray(int size)
           
abstract  int length()
           
abstract  void setArrayItem(int index, java.lang.Number value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericNumericArray

public GenericNumericArray()
Method Detail

create

public static GenericNumericArray create(byte[] array)

create

public static GenericNumericArray create(short[] array)

getByteArray

public static GenericNumericArray getByteArray(int size)

getShortArray

public static GenericNumericArray getShortArray(int size)

getArray

public abstract java.lang.Object getArray()

getArrayItem

public abstract java.lang.Number getArrayItem(int index)

setArrayItem

public abstract void setArrayItem(int index,
                                  java.lang.Number value)

fillRange

public abstract void fillRange(int fromIndex,
                               int toIndex,
                               java.lang.Number val)

length

public abstract int length()


Copyright © 2011 dcm4che. All Rights Reserved.