Class Markovs

    • Constructor Detail

      • Markovs

        public Markovs​(MockNeat mockNeat)
      • Markovs

        protected Markovs()
    • Method Detail

      • markovs

        public static Markovs markovs()

        Returns a Markovs object that can be used to generate arbitrary text that can pass as almost valid using Markov Chains

        It can also be used to generate Lorem Ipsum text that is different each time the ending method is invoked

        Returns:
        A re-usable Markovs object. The Markovs class implements MockUnitString
      • size

        public Markovs size​(int size)
      • supplier

        public java.util.function.Supplier<java.lang.String> supplier()
        Description copied from interface: MockUnit
        This is the sole abstract method of the interface. Needs to be implemented every-time a MockUnit is implemented.
        Specified by:
        supplier in interface MockUnit<java.lang.String>
        Returns:
        A Supplier<T>.