Class DJB2Hasher
- java.lang.Object
-
- com.runemate.game.api.hybrid.cache.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
-
-
-
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
-
-