Here you can find the source of createHash(String title, String URL, String content)
public static int createHash(String title, String URL, String content)
//package com.java2s; public class Main { public static int createHash(String title, String URL, String content) { int hash = 1; hash = hash * 31 + (title == null ? 0 : title.hashCode()); hash = hash * 31 + (URL == null ? 0 : URL.hashCode()); hash = hash * 31 + (content == null ? 0 : content.hashCode()); return hash; }//w w w . j a v a 2s. c om }