Documentation of 'org.ddogleg.fitting.modelset.ModelManagerDefault' Java class
ModelManagerDefault
org.ddogleg.fitting.modelset

Class ModelManagerDefault<T>

  • All Implemented Interfaces:
    ModelManager<T>


    public class ModelManagerDefault<T>
    extends java.lang.Object
    implements ModelManager<T>
    Default model manager. Assumes the model class has a no argument constructor and a set function.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ModelManagerDefault(java.lang.Class type) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void copyModel(T src, T dst)
      Turns 'dst' into an exact copy of 'src'.
      T createModelInstance()
      Creates a new instance of the model
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ModelManagerDefault

        public ModelManagerDefault(java.lang.Class type)
    • Method Detail

      • createModelInstance

        public T createModelInstance()
        Description copied from interface: ModelManager
        Creates a new instance of the model
        Specified by:
        createModelInstance in interface ModelManager<T>
        Returns:
        New model instance
      • copyModel

        public void copyModel(T src,
                              T dst)
        Description copied from interface: ModelManager
        Turns 'dst' into an exact copy of 'src'. If the model has a variable structure then it is assumed that the two models have the same structure.
        Specified by:
        copyModel in interface ModelManager<T>
        Parameters:
        src - Original model. Not modified.
        dst - Where the copy is written to. Modified.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.