Interface RandomSplitGenerator<I,​O>

    • Method Detail

      • setPercentage

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

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

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

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