Mercurial > projects > dwt2
diff java/src/java/util/Map.d @ 21:9b96950f2c3c
the 'java' tree compiles on both D1-Tango and D2-Phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 19 Mar 2009 20:38:55 +0100 |
parents | eb8ff453285d |
children |
line wrap: on
line diff
--- a/java/src/java/util/Map.d Wed Mar 18 12:10:17 2009 +0100 +++ b/java/src/java/util/Map.d Thu Mar 19 20:38:55 2009 +0100 @@ -17,7 +17,7 @@ public bool containsKey(String key); public bool containsValue(Object value); public Set entrySet(); - public int opEquals(Object o); + public equals_t opEquals(Object o); public Object get(Object key); public Object get(String key); public hash_t toHash(); @@ -44,7 +44,7 @@ this.map = map; this.key = key; } - public override int opEquals(Object o){ + public override equals_t opEquals(Object o){ if( auto other = cast(MapEntry)o){ if(( getKey() is null ? other.getKey() is null : getKey() == other.getKey() ) &&