| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE
The type number associated with a
GlassMaterial. |
| Constructor and Description |
|---|
GlassMaterial()
Constructs a new
GlassMaterial instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Compares
object to this GlassMaterial instance for equality. |
int |
getType()
Returns the type of this
GlassMaterial instance. |
int |
hashCode()
Returns a hash code for this
GlassMaterial instance. |
java.lang.String |
toString()
Returns a
String representation of this GlassMaterial instance. |
public static final int TYPE
GlassMaterial. The number is 2.public java.lang.String toString()
String representation of this GlassMaterial instance.toString in class java.lang.ObjectString representation of this GlassMaterial instancepublic boolean equals(java.lang.Object object)
object to this GlassMaterial instance for equality.
Returns true if, and only if, object is an instance of GlassMaterial, and their respective values are equal, false otherwise.
equals in class java.lang.Objectobject - the Object to compare to this GlassMaterial instance for equalitytrue if, and only if, object is an instance of GlassMaterial, and their respective values are equal, false otherwisepublic int getType()
GlassMaterial instance.public int hashCode()
GlassMaterial instance.hashCode in class java.lang.ObjectGlassMaterial instance