- 67 一个带遮照效果的3D物体
- FT2232H_USB_Core 在FPGA外扩用FT2232 实现UART TO USB 2.0 的通信
- 7 将AX寄存器中的16位数分成4组
- Query--by-Humming 本文提出了一种哼唱音乐检索的新方法
- JavaWeb jsp 基本语法 详细的概述lejsp的一些基本内容
- Exercise-5 Ejercicio 5 ssd4 es un ejercicio de icarnegie del modulo ssd4 apenas subido. Me parece que no esta al 100 por ciento peero tiene un 80 .
文件名称:src
-
所属分类:
- 标签属性:
- 上传时间:2016-01-15
-
文件大小:4.73kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个功能强大的字符串裂解类,可以用于解释器程序,词法分析程序的前身。你还为java的split功能有限而苦恼吗,你还为可恶的正则表达式的复杂度和健壮性而苦恼吗。该类可以满足你的需求,可以以包含,排除两种方式裂解,可以包含分隔符,不包含分隔符,可以区分大小写,也可以不区分,总之,基本可以满足大部分需求了,注意该算法只考虑功能强大,不考虑效率问题,不一定能够适合大规模批量生产。理解示例:
原字符串:12a345B67cc890
规则符:a,b,cc
裂解方式:包含分隔符,区分大小写
包含裂解结果
[12a, 345B67cc, 890]
排除裂解结果
[12, a345B67, cc890]
裂解方式:不包含分隔符,区分大小写
包含裂解结果
[12, 345B67, 890]
排除裂解结果
[a, cc]
裂解方式:包含分隔符,不区分大小写
包含裂解结果
[12a, 345B, 67cc, 890]
排除裂解结果
[12, a345, B67, cc890]
裂解方式:不包含分隔符,不区分大小写
包含裂解结果
[12, 345, 67, 890]
排除裂解结果
[a, B, cc]-A powerful string splitting class, can be used for the interpreter program, the predecessor of the lexical analysis program. You also for the split Java function is limited and distressed, you also for the complexity and robustness of the regular expression of the regular expression of distress. The class can meet your needs, can be included to exclude cracking in two ways, can contain delimiters, does not contain delimiters, can be case sensitive, also can not distinguish. In short, the basic can meet most of the demand, note that the algorithm only considers the powerful, not considering the question of efficiency, not suitable for mass production.
原字符串:12a345B67cc890
规则符:a,b,cc
裂解方式:包含分隔符,区分大小写
包含裂解结果
[12a, 345B67cc, 890]
排除裂解结果
[12, a345B67, cc890]
裂解方式:不包含分隔符,区分大小写
包含裂解结果
[12, 345B67, 890]
排除裂解结果
[a, cc]
裂解方式:包含分隔符,不区分大小写
包含裂解结果
[12a, 345B, 67cc, 890]
排除裂解结果
[12, a345, B67, cc890]
裂解方式:不包含分隔符,不区分大小写
包含裂解结果
[12, 345, 67, 890]
排除裂解结果
[a, B, cc]-A powerful string splitting class, can be used for the interpreter program, the predecessor of the lexical analysis program. You also for the split Java function is limited and distressed, you also for the complexity and robustness of the regular expression of the regular expression of distress. The class can meet your needs, can be included to exclude cracking in two ways, can contain delimiters, does not contain delimiters, can be case sensitive, also can not distinguish. In short, the basic can meet most of the demand, note that the algorithm only considers the powerful, not considering the question of efficiency, not suitable for mass production.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
src/pub/string/StringArray.java
src/pub/string/StringObject.java
src/pub/string/StringSplit.java
src/pub/string
src/pub
src
src/pub/string/StringObject.java
src/pub/string/StringSplit.java
src/pub/string
src/pub
src
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.