Class ModelXY
- java.lang.Object
-
- com.actelion.research.util.datamodel.ModelXY
-
- All Implemented Interfaces:
IModelCloneable<ModelXY>
- Direct Known Subclasses:
ModelXYCrossValidation
,ModelXYIndex
public class ModelXY extends java.lang.Object implements IModelCloneable<ModelXY>
ModelDataXY X and Y are assumed to have the same row dim.- Author:
- Modest von Korff Aug 4, 2011 MvK: Start implementation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelXY
appendRows(ModelXY a, ModelXY b)
void
deepCopy(ModelXY source)
java.util.List<XY>
getAsList()
ModelXY
getDeepClone()
ModelXY
getSortedByY(int colY)
int
size()
java.util.List<int[]>
toIntegerListX()
-
-
-
Method Detail
-
deepCopy
public void deepCopy(ModelXY source)
-
size
public int size()
- Returns:
- rows in X.
-
getDeepClone
public ModelXY getDeepClone()
- Specified by:
getDeepClone
in interfaceIModelCloneable<ModelXY>
- Returns:
- a deep copy of this is needed.
-
getAsList
public java.util.List<XY> getAsList()
- Returns:
- Deep copy.
-
toIntegerListX
public java.util.List<int[]> toIntegerListX()
-
getSortedByY
public ModelXY getSortedByY(int colY)
-
-