equal
deleted
inserted
replaced
77 |
77 |
78 // General access |
78 // General access |
79 oop operator () () const { return obj(); } |
79 oop operator () () const { return obj(); } |
80 oop operator -> () const { return non_null_obj(); } |
80 oop operator -> () const { return non_null_obj(); } |
81 |
81 |
82 bool operator == (oop o) const { return oopDesc::equals(obj(), o); } |
82 bool operator == (oop o) const { return obj() == o; } |
83 bool operator == (const Handle& h) const { return oopDesc::equals(obj(), h.obj()); } |
83 bool operator == (const Handle& h) const { return obj() == h.obj(); } |
84 |
84 |
85 // Null checks |
85 // Null checks |
86 bool is_null() const { return _handle == NULL; } |
86 bool is_null() const { return _handle == NULL; } |
87 bool not_null() const { return _handle != NULL; } |
87 bool not_null() const { return _handle != NULL; } |
88 |
88 |