org.jdmp.core.sample
Class MapSample

java.lang.Object
  extended by org.jdmp.core.AbstractCoreObject
      extended by org.jdmp.core.sample.AbstractSample
          extended by org.jdmp.core.sample.MapSample
All Implemented Interfaces:
Serializable, Cloneable, CoreObject, Sample, HasVariableMap, HasVariables, Clearable, HasDescription, HasGUIObject, HasId, HasLabel, Wrapper<Map<?,?>>

public class MapSample
extends AbstractSample
implements Wrapper<Map<?,?>>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdmp.core.AbstractCoreObject
ALL, COLUMN, logger, ROW, X, Y, Z
 
Fields inherited from interface org.jdmp.core.sample.Sample
COUNT, DESCRIPTION, DIFFERENCE, ID, INPUT, LABEL, PREDICTED, PROBABILITY, RMSE, SCORE, TARGET, WEIGHT
 
Constructor Summary
MapSample(Map<?,?> map)
           
 
Method Summary
 MapSample clone()
           
 ObservableMap<Variable> getVariables()
           
 Map<?,?> getWrappedObject()
           
 void setMatrix(Object variableKey, Matrix matrix)
           
 void setVariables(ObservableMap<Variable> variables)
           
 void setWrappedObject(Map<?,?> object)
           
 
Methods inherited from class org.jdmp.core.sample.AbstractSample
clear, getAsString, getDescription, getGUIObject, getId, getLabel, getMatrix, notifyGUIObject, setDescription, setId, setLabel, setObject, toString
 
Methods inherited from class org.jdmp.core.AbstractCoreObject
showGUI
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
showGUI
 

Constructor Detail

MapSample

public MapSample(Map<?,?> map)
Method Detail

clone

public final MapSample clone()
Specified by:
clone in interface Sample
Specified by:
clone in class AbstractSample

getVariables

public ObservableMap<Variable> getVariables()
Specified by:
getVariables in interface HasVariableMap
Specified by:
getVariables in interface HasVariables

setMatrix

public void setMatrix(Object variableKey,
                      Matrix matrix)
Specified by:
setMatrix in interface HasVariableMap

setVariables

public void setVariables(ObservableMap<Variable> variables)
Specified by:
setVariables in interface HasVariableMap

getWrappedObject

public Map<?,?> getWrappedObject()
Specified by:
getWrappedObject in interface Wrapper<Map<?,?>>

setWrappedObject

public void setWrappedObject(Map<?,?> object)
Specified by:
setWrappedObject in interface Wrapper<Map<?,?>>


Copyright © 2009. All Rights Reserved.