Mercurial > projects > dwt2
comparison java/src/java/util/Collections.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 |
comparison
equal
deleted
inserted
replaced
20:dccb717aa902 | 21:9b96950f2c3c |
---|---|
137 return list.contains(o); | 137 return list.contains(o); |
138 } | 138 } |
139 public bool containsAll(Collection c){ | 139 public bool containsAll(Collection c){ |
140 return list.containsAll(c); | 140 return list.containsAll(c); |
141 } | 141 } |
142 public int opEquals(Object o){ | 142 public equals_t opEquals(Object o){ |
143 return list.opEquals(o); | 143 return cast(equals_t)list.opEquals(o); |
144 } | 144 } |
145 public Object get(int index){ | 145 public Object get(int index){ |
146 return list.get(index); | 146 return list.get(index); |
147 } | 147 } |
148 public hash_t toHash(){ | 148 public hash_t toHash(){ |
259 public bool addAll(int index, Collection c){ synchronized(this){ return this.list.addAll(index, c); } } | 259 public bool addAll(int index, Collection c){ synchronized(this){ return this.list.addAll(index, c); } } |
260 public void clear(){ synchronized(this){ return this.list.clear(); } } | 260 public void clear(){ synchronized(this){ return this.list.clear(); } } |
261 public bool contains(Object o){ synchronized(this){ return this.list.contains(o); } } | 261 public bool contains(Object o){ synchronized(this){ return this.list.contains(o); } } |
262 public bool contains(String o){ synchronized(this){ return this.list.contains(o); } } | 262 public bool contains(String o){ synchronized(this){ return this.list.contains(o); } } |
263 public bool containsAll(Collection c){ synchronized(this){ return this.list.containsAll(c); } } | 263 public bool containsAll(Collection c){ synchronized(this){ return this.list.containsAll(c); } } |
264 public int opEquals(Object o){ synchronized(this){ return this.list.opEquals(o); } } | 264 public equals_t opEquals(Object o){ synchronized(this){ return cast(equals_t)this.list.opEquals(o); } } |
265 public Object get(int index){ synchronized(this){ return this.list.get(index); } } | 265 public Object get(int index){ synchronized(this){ return this.list.get(index); } } |
266 public hash_t toHash(){ synchronized(this){ return this.list.toHash(); } } | 266 public hash_t toHash(){ synchronized(this){ return this.list.toHash(); } } |
267 public int indexOf(Object o){ synchronized(this){ return this.list.indexOf(o); } } | 267 public int indexOf(Object o){ synchronized(this){ return this.list.indexOf(o); } } |
268 public bool isEmpty(){ synchronized(this){ return this.list.isEmpty(); } } | 268 public bool isEmpty(){ synchronized(this){ return this.list.isEmpty(); } } |
269 public Iterator iterator(){ synchronized(this){ return this.list.iterator(); } } | 269 public Iterator iterator(){ synchronized(this){ return this.list.iterator(); } } |
300 public void clear(){ synchronized(this){ this.map.clear(); } } | 300 public void clear(){ synchronized(this){ this.map.clear(); } } |
301 public bool containsKey(Object key){ synchronized(this){ return this.map.containsKey(key); } } | 301 public bool containsKey(Object key){ synchronized(this){ return this.map.containsKey(key); } } |
302 public bool containsKey(String key){ synchronized(this){ return this.map.containsKey(key); } } | 302 public bool containsKey(String key){ synchronized(this){ return this.map.containsKey(key); } } |
303 public bool containsValue(Object value){ synchronized(this){ return this.map.containsValue(value); } } | 303 public bool containsValue(Object value){ synchronized(this){ return this.map.containsValue(value); } } |
304 public Set entrySet(){ synchronized(this){ return this.map.entrySet(); } } | 304 public Set entrySet(){ synchronized(this){ return this.map.entrySet(); } } |
305 public int opEquals(Object o){ synchronized(this){ return this.map.opEquals(o); } } | 305 public equals_t opEquals(Object o){ synchronized(this){ return this.map.opEquals(o); } } |
306 public Object get(Object key){ synchronized(this){ return this.map.get(key); } } | 306 public Object get(Object key){ synchronized(this){ return this.map.get(key); } } |
307 public Object get(String key){ synchronized(this){ return this.map.get(key); } } | 307 public Object get(String key){ synchronized(this){ return this.map.get(key); } } |
308 public hash_t toHash(){ synchronized(this){ return this.map.toHash(); } } | 308 public hash_t toHash(){ synchronized(this){ return this.map.toHash(); } } |
309 public bool isEmpty(){ synchronized(this){ return this.map.isEmpty(); } } | 309 public bool isEmpty(){ synchronized(this){ return this.map.isEmpty(); } } |
310 public Set keySet(){ synchronized(this){ return this.map.keySet(); } } | 310 public Set keySet(){ synchronized(this){ return this.map.keySet(); } } |