Class WeightedIndex

java.lang.Object
com.prupe.mcpatcher.mal.util.WeightedIndex

@Environment(CLIENT) public abstract class WeightedIndex extends Object
  • Constructor Details

    • WeightedIndex

      protected WeightedIndex(int size)
  • Method Details

    • create

      public static WeightedIndex create(int size)
    • create

      public static WeightedIndex create(int size, String weightList)
    • mod

      protected final int mod(long n, int modulus)
    • choose

      public abstract int choose(long key)
    • hash128To64

      public static long hash128To64(int i, int j, int k, int l)
    • hash128To64

      public static long hash128To64(long a, long b)