Nicer looking generated Java container code
This commit is contained in:
parent
437037a3e6
commit
9849174d93
2 changed files with 2 additions and 4 deletions
|
|
@ -78,8 +78,7 @@ template<class KeyType, class MappedType > class unordered_map {
|
|||
return null;
|
||||
}
|
||||
|
||||
public $typemap(jboxtype, MappedType) put($typemap(jboxtype, KeyType) key,
|
||||
$typemap(jboxtype, MappedType) value) {
|
||||
public $typemap(jboxtype, MappedType) put($typemap(jboxtype, KeyType) key, $typemap(jboxtype, MappedType) value) {
|
||||
Iterator itr = find(($typemap(jboxtype, KeyType)) key);
|
||||
if (itr.isNot(end())) {
|
||||
$typemap(jboxtype, MappedType) oldValue = itr.getValue();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue