Class DJB2Hasher


  • public final class DJB2Hasher
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getGroupId​(ReferenceTable references, java.lang.String fileName)
      A hash that can be used to identify the position of the file in the downloadAndCache
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getGroupId

        public static int getGroupId​(ReferenceTable references,
                                     java.lang.String fileName)
        A hash that can be used to identify the position of the file in the downloadAndCache
        Parameters:
        fileName - - The CacheFile's technicalName
        Returns:
        a hash of fileName