Class NumberDistinctLines

java.lang.Object
it.unimi.dsi.law.io.tool.NumberDistinctLines

public class NumberDistinctLines
extends Object
The main method of this class reads a UTF-8 file containg a newline separated list of strings and writes a DataOutputStream containing a list of ints such that the i-th int is equal to the j-th int iff the (crc of the) i-th string is equal to the (crc of the) j-th string. The minimum int will be 0 and the maximum int will be equal to the number of different strings minus one.