public static HashFunction hashFunctionForVersion(int version) {if (version < VERSION_START) {throw new IllegalArgumentException("Version " + version + " is too old, expected at least " + VERSION_START);} else if (version > VERSION_CURRENT) {throw new IllegalArgumentException("Version " + version + " is too new, expected at most " + VERSION_CURRENT);}return MurmurHash2.INSTANCE;}
public static HashFunction HashFunctionForVersion(int version){if (version < VERSION_START)throw new ArgumentException("Version " + version + " is too old, expected at least " +VERSION_START);if (version > VERSION_CURRENT)throw new ArgumentException("Version " + version + " is too new, expected at most " +VERSION_CURRENT);return MurmurHash2.INSTANCE;}