mirror of
https://github.com/corda/corda.git
synced 2025-06-13 12:48:18 +00:00
API additions for compatibility with harmony's java.util package
This commit is contained in:
@ -269,8 +269,10 @@ public class HashMap<K, V> implements Map<K, V> {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(V value) {
|
||||
public V setValue(V value) {
|
||||
V old = this.value;
|
||||
this.value = value;
|
||||
return old;
|
||||
}
|
||||
|
||||
public HashMap.Cell<K, V> next() {
|
||||
|
Reference in New Issue
Block a user