- MakeRoads mapx在vc.net上的应用框架
- hdb 数字基带信号的传输是数字通信系统的重要组成部分
- TOANNHAN vi du viet giao dien phep toan nhan dung Matlab
- imageRegistritionPapers 图像配准的两篇硕士论文: 基于SURF的图像配准与拼接技术研究 和 基于图像配准的SIFT算法研究与实现
- ByesJava 贝叶斯算法的java实现
- 0_Pure-Waters-4-6-Legendary-1111-4-6 This is an implementation of a genetic algorithm that solves the traveling salesman problem
文件名称: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
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
