|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.semantics.java.ClassObjectType
Java class semantics ObjectType
.
Constructor Summary | |
ClassObjectType(java.lang.Class objectTypeClass)
Construct. |
Method Summary | |
boolean |
equals(java.lang.Object thatObj)
Determine if another object is equal to this. |
java.lang.Class |
getType()
Return the Java object class. |
int |
hashCode()
Produce the hash of this object. |
boolean |
matches(java.lang.Object object)
Determine if the passed Object
belongs to the object type defined by this
objectType instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClassObjectType(java.lang.Class objectTypeClass)
objectTypeClass
- Java object class.Method Detail |
public java.lang.Class getType()
public boolean matches(java.lang.Object object)
Object
belongs to the object type defined by this
objectType
instance.
matches
in interface ObjectType
object
- The Object
to test.
true
if the Object
matches this object type, else false
.public boolean equals(java.lang.Object thatObj)
equals
in class java.lang.Object
thatObj
- The object to test.
true
if thatObj
is equal
to this, otherwise false
.public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |