Class IndexHelper


  • public class IndexHelper
    extends Object
    Class containing a static method for setting an attribute index using provided index or regular expression.
    Version:
    $Revision$
    Author:
    msf8
    • Constructor Detail

      • IndexHelper

        public IndexHelper()
    • Method Detail

      • getIndex

        public static int getIndex​(BaseRegExp reg,
                                   Index ind,
                                   SpreadSheet inst,
                                   int index)
        Returns the position of the desired attribute.
        Parameters:
        reg - Regular expression
        ind - Index
        inst - instances
        index - the default index
        Returns:
        the determined index