edu.mssm.crover.tables
Interface ValueCopier

All Known Implementing Classes:
ArrayTable.ColumnDescription.booleanCopier, ArrayTable.ColumnDescription.charCopier, ArrayTable.ColumnDescription.doubleCopier, ArrayTable.ColumnDescription.floatCopier, ArrayTable.ColumnDescription.intCopier, ArrayTable.ColumnDescription.objectCopier

public interface ValueCopier

Copy primitive types or objects contained in an array in a generic way. This interface can be implemented for each primitive type and for the object type. It is equivalent to

 dest_array[dest_index]=source_array[source_index]


Method Summary
 void copy(java.lang.Object source_array, int source_index, java.lang.Object dest_array, int dest_index)
          Copy the value from the source position to the destination position.
 

Method Detail

copy

public void copy(java.lang.Object source_array,
                 int source_index,
                 java.lang.Object dest_array,
                 int dest_index)
Copy the value from the source position to the destination position.



Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.