Package net.minecraft.client.renderer
Enum RenderType.Type.EqualityStrategy
- java.lang.Object
-
- java.lang.Enum<RenderType.Type.EqualityStrategy>
-
- net.minecraft.client.renderer.RenderType.Type.EqualityStrategy
-
- All Implemented Interfaces:
it.unimi.dsi.fastutil.Hash.Strategy<RenderType.Type>
,java.io.Serializable
,java.lang.Comparable<RenderType.Type.EqualityStrategy>
- Enclosing class:
- RenderType.Type
static enum RenderType.Type.EqualityStrategy extends java.lang.Enum<RenderType.Type.EqualityStrategy> implements it.unimi.dsi.fastutil.Hash.Strategy<RenderType.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
EqualityStrategy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(RenderType.Type p_equals_1_, RenderType.Type p_equals_2_)
int
hashCode(RenderType.Type p_hashCode_1_)
static RenderType.Type.EqualityStrategy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RenderType.Type.EqualityStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final RenderType.Type.EqualityStrategy INSTANCE
-
-
Method Detail
-
values
public static RenderType.Type.EqualityStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RenderType.Type.EqualityStrategy c : RenderType.Type.EqualityStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RenderType.Type.EqualityStrategy valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
hashCode
public int hashCode(@Nullable RenderType.Type p_hashCode_1_)
- Specified by:
hashCode
in interfaceit.unimi.dsi.fastutil.Hash.Strategy<RenderType.Type>
-
equals
public boolean equals(@Nullable RenderType.Type p_equals_1_, @Nullable RenderType.Type p_equals_2_)
- Specified by:
equals
in interfaceit.unimi.dsi.fastutil.Hash.Strategy<RenderType.Type>
-
-