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

3
LINES

< > BotCompany Repo | #1034907 // getNESWDirection

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

Libraryless. Click here for Pure Java version (5072L/28K).

static NESWDirection getNESWDirection(int index) {
  ret NESWDirection.values[index & 3];
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034907
Snippet name: getNESWDirection
Eternal ID of this version: #1034907/2
Text MD5: 3d2490dcca65e38e3f2b863c015458d3
Transpilation MD5: c32e14181ac8bb496d081ae65abd1b78
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-14 17:59:08
Source code size: 93 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 151 / 227
Version history: 1 change(s)
Referenced in: [show references]