Class InterpolationTfsResult

  • All Implemented Interfaces:
    Result, TfsResult

    public class InterpolationTfsResult
    extends java.lang.Object
    implements TfsResult
    • Constructor Detail

      • InterpolationTfsResult

        public InterpolationTfsResult​(java.util.Map<Element,​java.util.Map<JMadPlane,​java.util.Map<MadxTwissVariable,​java.lang.Double>>> valueMapping)
    • Method Detail

      • getColumnCount

        public int getColumnCount()
        Specified by:
        getColumnCount in interface TfsResult
        Returns:
        the amount of data-columns (amount of variables)
      • getDoubleData

        public java.util.List<java.lang.Double> getDoubleData​(MadxVariable resultVariable)
        Description copied from interface: TfsResult
        returns one Column of Data as double-values.
        Specified by:
        getDoubleData in interface TfsResult
        Parameters:
        resultVariable - the ResultVariable for which to get the Data.
        Returns:
        the Values
      • getDoubleData

        public java.util.List<java.lang.Double> getDoubleData​(java.lang.String key)
        Description copied from interface: TfsResult
        returns one Column of Data ad double-values
        Specified by:
        getDoubleData in interface TfsResult
        Parameters:
        key - the key for the data
        Returns:
        the values
      • getStringData

        public java.util.List<java.lang.String> getStringData​(MadxVariable resultVariable)
        Description copied from interface: TfsResult
        returns one Column of Data as String-values.
        Specified by:
        getStringData in interface TfsResult
        Parameters:
        resultVariable - the ResultVariable for which to get the Data.
        Returns:
        the Values
      • getStringData

        public java.util.List<java.lang.String> getStringData​(java.lang.String key)
        Description copied from interface: TfsResult
        returns the Data-Column for the given Key as ArrayList
        Specified by:
        getStringData in interface TfsResult
        Parameters:
        key - the key for which to get the data.
        Returns:
        the Double values
      • getKeys

        public java.util.List<java.lang.String> getKeys()
        Specified by:
        getKeys in interface TfsResult
        Returns:
        the available keys.
      • getElementIndex

        public java.lang.Integer getElementIndex​(java.lang.String elementName)
        Specified by:
        getElementIndex in interface TfsResult
        Parameters:
        elementName - the name of the element for which one wants to retrieve the index.
        Returns:
        the index of Element in a list of values.
      • getVarType

        public MadxVarType getVarType​(java.lang.String key)
        Description copied from interface: TfsResult
        returns the type of Data for the given key
        Specified by:
        getVarType in interface TfsResult
        Parameters:
        key - the key for which to get the DataType
        Returns:
        the Data-Type
      • getVarType

        public MadxVarType getVarType​(MadxVariable var)
        Description copied from interface: TfsResult
        returns the type of Data for a given ResultVariable
        Specified by:
        getVarType in interface TfsResult
        Parameters:
        var - the ResultVariable
        Returns:
        the VarType