Documentation of 'javanpst.data.distributions.criticalTable.Critical1KeyTable' Java class
Critical1KeyTable
javanpst.data.distributions.criticalTable

Class Critical1KeyTable



  • public class Critical1KeyTable
    extends java.lang.Object
    A table representation with 1 key and critical levels. In each row of this table, several critical values are stored, being each one assigned to a previously especified p-value
    • Constructor Summary

      Constructors 
      Constructor and Description
      Critical1KeyTable(int lenght, double[] criticals)
      Buider.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addRow(int index, double[] values)
      Copy the values of a new row to the table
      void clear()
      Clears the table
      void erase(int index)
      Clears a row given an integer index
      double get(int dim1, int dim2)
      Get a value from the table
      double getHeader(int index)
      Returns the p-value assigned to a given position
      • Methods inherited from class java.lang.Object

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

      • Critical1KeyTable

        public Critical1KeyTable(int lenght,
                                 double[] criticals)
        Buider.
        Parameters:
        lenght - number of rows of the table
        criticals - array of p-values
    • Method Detail

      • getHeader

        public double getHeader(int index)
        Returns the p-value assigned to a given position
        Parameters:
        index - position selected
        Returns:
        p-value associated
      • clear

        public void clear()
        Clears the table
      • erase

        public void erase(int index)
        Clears a row given an integer index
        Parameters:
        index - row to clear
      • addRow

        public void addRow(int index,
                           double[] values)
        Copy the values of a new row to the table
        Parameters:
        index - row to modify
        values - array of values of the new row
      • get

        public double get(int dim1,
                          int dim2)
        Get a value from the table
        Parameters:
        dim1 - row selected
        dim2 - critical level position selected
        Returns:
        value stored

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.