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

8
LINES

< > BotCompany Repo | #1023413 // PropertiesAndErrors - case-insensitive string keys

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

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

sclass PropertiesAndErrors {
  Map<S, O> properties = ciMap();
  Map<S, PersistableThrowable> propertyErrors;
  
  void setError(S propertyName, PersistableThrowable error) {
    propertyErrors = initCIMapAndAdd(propertyErrors, propertyName, error);
  }
}

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: #1023413
Snippet name: PropertiesAndErrors - case-insensitive string keys
Eternal ID of this version: #1023413/6
Text MD5: 744642931e800cba72eecca75364f3ba
Transpilation MD5: e8d7efea386348583b0cc7a4533941ef
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-18 01:57:33
Source code size: 262 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 305 / 743
Version history: 5 change(s)
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)