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