Class SpreadSheetRandomSplitGenerator

    • Field Detail

      • m_Percentage

        protected double m_Percentage
        the percentage.
      • m_Seed

        protected long m_Seed
        the seed value.
      • m_PreserveOrder

        protected boolean m_PreserveOrder
        whether to preserve the order.
    • Constructor Detail

      • SpreadSheetRandomSplitGenerator

        public SpreadSheetRandomSplitGenerator()
    • Method Detail

      • setPercentage

        public void setPercentage​(double value)
        Sets the split percentage.
        Parameters:
        value - the percentage (0-1)
      • getPercentage

        public double getPercentage()
        Returns the split percentage.
        Returns:
        the percentage (0-1)
      • percentageTipText

        public String percentageTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setSeed

        public void setSeed​(long value)
        Sets the seed value.
        Specified by:
        setSeed in interface Randomizable
        Parameters:
        value - the seed
      • getSeed

        public long getSeed()
        Returns the seed value.
        Specified by:
        getSeed in interface Randomizable
        Returns:
        the seed
      • seedTipText

        public String seedTipText()
        Returns the tip text for this property.
        Specified by:
        seedTipText in interface Randomizable
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPreserveOrder

        public void setPreserveOrder​(boolean value)
        Sets whether to preserve the order.
        Parameters:
        value - true if to preserve order
      • getPreserveOrder

        public boolean getPreserveOrder()
        Returns whether to preserve the order.
        Returns:
        true if to preserve order
      • preserveOrderTipText

        public String preserveOrderTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.