Code example for HashFunction

Methods: newHasher

0
    /** 
     * Repository@revision should be sufficient to uniquely identify a revision 
     * @return  a loosely constructed hashcode converted to String 
     */ 
    public String id() {
        return hf.newHasher()
                .putUnencodedChars(repository)
                .putLong(revision)
                .hash()
                .toString();
    } 
 
 
} 
Experience pair programming with AI  Get Codota for Java