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

20
LINES

< > BotCompany Repo | #1029561 // CCI_End

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

Libraryless. Click here for Pure Java version (2634L/17K).

sclass CCI_End extends CharacterClassIterator {
  CharacterClassIterator acceptChar(char c) {
    fail();
  }

  bool canEndHere() {
    true;
  }
  
  bool canAcceptChar(char c) {
    false;
  }
  
  Cl<Char> acceptedChars() { null; }
  CharRange acceptedCharRange() { null; }
  
  CharacterClassIterator cloneCCI() {
    this;
  }
}  

Author comment

Began life as a copy of #1029558

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029561
Snippet name: CCI_End
Eternal ID of this version: #1029561/3
Text MD5: 942bcca516464f290924feb70ebadb06
Transpilation MD5: 0d7c6594abf4d1b75354d9c8459706c1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-23 12:53:36
Source code size: 357 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 214 / 483
Version history: 2 change(s)
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)