Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1023539 // getStringDyn - getOptDyn with cast to string

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (1503L/10K).

sS getStringDyn(O o, S key) {
  ret (S) getOptDyn(o, key);
}

sS mapMethodLike getStringDyn(S key, O o) {
  ret getStringDyn(o, key);
}

Author comment

Began life as a copy of #1001954

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: #1023539
Snippet name: getStringDyn - getOptDyn with cast to string
Eternal ID of this version: #1023539/2
Text MD5: f3e5c3b904597b0adb12b91ff7b7eb92
Transpilation MD5: 32f3c5011bb6cc31606c4f33f301c54f
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-27 14:09:36
Source code size: 141 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 195 / 283
Version history: 1 change(s)
Referenced in: [show references]