码迷,mamicode.com
首页 >  
搜索关键字:pattern recognition    ( 8071个结果
ZigZag Conversion
题目:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed f....
分类:其他好文   时间:2014-12-18 20:25:04    阅读次数:179
【ListViewJSON】【com.demo.app.common】【UIHelper】源码分析及其在工程中作用
源码如下:package com.demo.app.common;import java.util.regex.Pattern;import android.app.Activity;import android.app.AlertDialog;import android.content.Cont...
分类:移动开发   时间:2014-12-18 13:18:08    阅读次数:188
Base64的加密,解密
package com.wanhua.util;import java.util.regex.Matcher;import java.util.regex.Pattern;/*** Base64的加密,解密* * @author w_xfpenga* * 2014-12-07*/public cla...
分类:其他好文   时间:2014-12-17 18:14:21    阅读次数:258
java通过正则表达式获取文本中的浮点数
package javaDemo; import java.util.regex.Matcher; import java.util.regex.Pattern; public class GetNumFromString { /** * @songwenju */ public static void main(String[] args) { String str...
分类:编程语言   时间:2014-12-17 16:26:21    阅读次数:235
Custom Date tag
Custom Date tag: custom date based on pattern format. Default date is current day. User can define the date format by customize the parameter Patte...
分类:其他好文   时间:2014-12-16 19:09:21    阅读次数:179
java的web.xml中<url-pattern>配置[转]
downLoadFile *.loadfile pageservlet /pageservlet.page 配置规则如下:在 Web 应用部署描述符中,用于映射语法的规定如下:■ 以“/”字符开头,...
分类:编程语言   时间:2014-12-16 15:03:39    阅读次数:176
php中的preg系列函数
mixed preg_replace ( mixed $pattern , mixed $replacement , mixed $subject [, int $limit = -1 [, int &$count ]] )如果subject是数组则返回数组,否则返回一个字符串。如果发生错误,返回 ...
分类:Web程序   时间:2014-12-16 11:32:01    阅读次数:602
sed的用法
1、什么是sedsed命令是一个流线式、非交互式编辑器,可以实现在vi等编辑器中一样的编辑效果。2、sed的工作原理模式空间(pattern space)sed一次处理一行文本(或输入),并把输出送往屏幕或重定向到文件。sed把当前处理的行存储在临时缓冲区中,称为模式空间。一旦完成对模式空间中的行的...
分类:其他好文   时间:2014-12-15 21:35:29    阅读次数:224
Matcher.appendReplacement(StringBuffer sb, String replacement)解析
Pattern p = Pattern.compile("cat");Matcher m = p.matcher("one cat two cats in the yard");StringBuffer sb = new StringBuffer();while (m.find()) { m.app...
分类:移动开发   时间:2014-12-15 20:14:42    阅读次数:187
linux之SQL语句简明教程---LIKE
LIKE 是另一个在 WHERE 子句中会用到的指令。基本上,LIKE 能让我们依据一个套式 (pattern) 来找出我们要的资料。相对来说,在运用 IN 的时候,我们完全地知道我们需要的条件;在运用 BETWEEN 的时候,我们则是列出一个范围。 LIKE 的语法如下: SELECT "栏位名"  FROM "表格名"  WHERE "栏位名" LIKE {套式}; {套式...
分类:数据库   时间:2014-12-15 17:22:06    阅读次数:208
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!