Enum Class GameTestsPerformanceIngredientIndex.Shape

java.lang.Object
java.lang.Enum<GameTestsPerformanceIngredientIndex.Shape>
org.cyclops.integrateddynamics.gametest.GameTestsPerformanceIngredientIndex.Shape
All Implemented Interfaces:
Serializable, Comparable<GameTestsPerformanceIngredientIndex.Shape>, Constable
Enclosing class:
GameTestsPerformanceIngredientIndex

public static enum GameTestsPerformanceIngredientIndex.Shape extends Enum<GameTestsPerformanceIngredientIndex.Shape>
How the indexed instances are spread over item types. An ItemStack hash that ignores data components puts every stack of the same item in one bucket, so the shape decides how long the collision chains are. SPREAD is the mildest case and SINGLE_ITEM the worst.
  • Enum Constant Details

  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GameTestsPerformanceIngredientIndex.Shape valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • benchmarkSuffix

      public String benchmarkSuffix()