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