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


< > BotCompany Repo | #1030017 - checkedListCast

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

Libraryless. Click here for Pure Java version (2523L/16K).

static <A> L<A> nuLike checkedListCast(Class<A> type, O o) {
  L l = cast o;
  assertAllElementsAreOfType(type, l);
  ret l;

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030017
Snippet name: checkedListCast
Eternal ID of this version: #1030017/2
Text MD5: dcaa2031dc2cda15b79c056d7bb82aa8
Transpilation MD5: d1aa723a208d7f80067f43ca49483627
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-30 09:19:44
Source code size: 130 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 51 / 88
Version history: 1 change(s)
Referenced in: [show references]

Formerly at &