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).

1  
sclass CCI_End extends CharacterClassIterator {
2  
  CharacterClassIterator acceptChar(char c) {
3  
    fail();
4  
  }
5  
6  
  bool canEndHere() {
7  
    true;
8  
  }
9  
  
10  
  bool canAcceptChar(char c) {
11  
    false;
12  
  }
13  
  
14  
  Cl<Char> acceptedChars() { null; }
15  
  CharRange acceptedCharRange() { null; }
16  
  
17  
  CharacterClassIterator cloneCCI() {
18  
    this;
19  
  }
20  
}  

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: 155 / 403
Version history: 2 change(s)
Referenced in: [show references]