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:
@ -112,9 +112,12 @@ public class TreeMap<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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private class KeySet implements Set<K> {
|
||||
|
Reference in New Issue
Block a user