Class HashedLinesToKeyValueString

  • All Implemented Interfaces:
    java.util.function.LongFunction<java.lang.String>

    public class HashedLinesToKeyValueString
    extends java.lang.Object
    implements java.util.function.LongFunction<java.lang.String>
    Generate a string in the format key1:value1;key2:value2;... from the words in the specified file, ranging in size between zero and the specified maximum.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String apply​(long input)  
      • Methods inherited from class java.lang.Object

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

      • HashedLinesToKeyValueString

        public HashedLinesToKeyValueString​(java.lang.String paramFile,
                                           int maxsize)
    • Method Detail

      • apply

        public java.lang.String apply​(long input)
        Specified by:
        apply in interface java.util.function.LongFunction<java.lang.String>