comparison org.eclipse.core.databinding.beans/src/org/eclipse/core/internal/databinding/beans/IdentityWrapper.d @ 98:48d4ee626868

rm databinding.observable seems to be duplicate, databinding.beans now building
author Frank Benoit <benoit@tionex.de>
date Wed, 22 Apr 2009 07:30:21 +0200
parents b74ac5dfcc06
children
comparison
equal deleted inserted replaced
97:c86eb8b3098e 98:48d4ee626868
38 public Object unwrap() { 38 public Object unwrap() {
39 return o; 39 return o;
40 } 40 }
41 41
42 public override equals_t opEquals(Object obj) { 42 public override equals_t opEquals(Object obj) {
43 if (obj is null || obj.getClass() !is IdentityWrapper.class) { 43 if (obj is null || Class.fromObject(obj) !is Class.fromType!(IdentityWrapper)) {
44 return false; 44 return false;
45 } 45 }
46 return o is (cast(IdentityWrapper) obj).o; 46 return o is (cast(IdentityWrapper) obj).o;
47 } 47 }
48 48