public class ArrayMapper
extends java.lang.Object
ArraySliceMappable| Constructor and Description |
|---|
ArrayMapper()
Simple constructor.
|
ArrayMapper(ArraySliceMappable object)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getDataArray()
Get the data array.
|
void |
manageMappable(ArraySliceMappable object)
Take a new domain object into account.
|
void |
updateArray()
Map data from the domain objects to the internal array.
|
void |
updateArray(double[] data)
Map data from the domain objects to the specified array.
|
void |
updateObjects()
Map data from the internal array to the domain objects.
|
void |
updateObjects(double[] data)
Map data from the specified array to the domain objects.
|
public ArrayMapper()
public ArrayMapper(ArraySliceMappable object)
manageMappable
method. This call is equivalent to build the mapper with the
default constructor and adding the object.object - domain object to handlepublic void manageMappable(ArraySliceMappable object)
object - domain object to handlepublic double[] getDataArray()
public void updateObjects()
public void updateObjects(double[] data)
data - flat array holding the data to dispatchpublic void updateArray()
public void updateArray(double[] data)
data - flat array where to put the dataCopyright © 2001-2007 Luc Maisonobe. All Rights Reserved.