1 | static O[] changeParam(O[] params, S name, O value) { |
2 | if (eq(optPar(params, name), value)) ret params; |
3 | Map map = paramsToOrderedMap(params); |
4 | map.put(name, value); |
5 | ret mapToParams(map); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021159 |
Snippet name: | changeParam |
Eternal ID of this version: | #1021159/1 |
Text MD5: | 870df5ea305675960048684beebff40a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-31 05:42:51 |
Source code size: | 199 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 266 / 315 |
Referenced in: | [show references] |