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

19
LINES

< > BotCompany Repo | #1011316 // sortedKeys function

JavaX fragment (include)

static <A, B> L<A> sortedKeys(Map<A, B> map) {
  ret sorted(keys(map));
}

static L sortedKeys(O map) {
  ret sorted(keys(map));
}

ifclass MultiSet
  static <A> L<A> sortedKeys(MultiSet<A> ms) {
    ret sorted(keys(ms));
  }
endif

ifclass MultiMap
  static <A, B> L<A> sortedKeys(MultiMap<A, B> mm) {
    ret sorted(keys(mm));
  }
endif

Author comment

Began life as a copy of #1002042

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011316
Snippet name: sortedKeys function
Eternal ID of this version: #1011316/2
Text MD5: 2b1c28c6b0b85367e046502af9ffd9dc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-24 02:03:34
Source code size: 356 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 430 / 409
Version history: 1 change(s)
Referenced in: [show references]