Libraryless. Click here for Pure Java version (34L/1K).
svoid subListRangeCheck(int fromIndex, int toIndex, int size) { if (fromIndex < 0) throw new IndexOutOfBoundsException("fromIndex = " + fromIndex); if (toIndex > size) throw new IndexOutOfBoundsException("toIndex = " + toIndex); if (fromIndex > toIndex) throw new IllegalArgumentException("fromIndex(" + fromIndex + ") > toIndex(" + toIndex + ")"); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1031885 | 
| Snippet name: | subListRangeCheck | 
| Eternal ID of this version: | #1031885/1 | 
| Text MD5: | 9ebee2fb61818d3e8fa64427c125afee | 
| Transpilation MD5: | 2a102f3816697f200b1edc37dab8e56c | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-07-24 02:18:41 | 
| Source code size: | 423 bytes / 9 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 363 / 495 | 
| Referenced in: | [show references] |