码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
多文档上传文件
HttpFileCollection Files = HttpContext.Current.Request.Files; for (int i = 0; i 0) { string FileName = PostedFile.FileName; string strExPrentFile = .....
分类:Web程序   时间:2015-05-07 16:04:56    阅读次数:111
Retrofit的使用教程(二)
Query注解interface QueryGET{ @GET("/sheet") String getString(@Query("name")String name,@Query("age") int age,@QueryMap(encodeNames=true) Map filters); }...
分类:其他好文   时间:2015-05-07 15:59:06    阅读次数:156
享元模式
UML类图: 实例实现代码: //用户 public class User { private string name; public User(string name) { this.name = name; } public string Na...
分类:其他好文   时间:2015-05-07 14:41:58    阅读次数:201
LeetCode (29) Fraction to Recurring Decimal
题目描述Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.If the fractional part is repeating, enclose the repeating part in parentheses.For...
分类:其他好文   时间:2015-05-07 14:32:56    阅读次数:152
plain framework 商业版 开发总结1
计划表 每日都在计划表中纠结,一步步辛酸,一步步艰难的前行。CODE 部分商业核心代码,暂时不予开源。#include "pf/base/string.h"#include "pf/base/log.h"#include "pf/base/time_manager.h"#include "pf/.....
分类:其他好文   时间:2015-05-07 14:23:05    阅读次数:105
Java 位运算(移位、位与、或、异或、非)
public class Test { public static void main(String[] args) { // 1、左移( > ) 高位补符号位 // 0000 0000 0000 0000 0000 0000 0000 0101 然后右移2位,高位...
分类:编程语言   时间:2015-05-07 14:06:33    阅读次数:133
java file
1 public static void main(String[] args) { 2 File file = new File("D:"+File.separator+"aa.text"); 3 if(!file.exists()){//判断文件是否存在,如果不存在创建...
分类:编程语言   时间:2015-05-07 14:00:57    阅读次数:128
int preg_match( string pattern
preg_match -- 进行正则表达式匹配。并且只匹配一次,注意与preg_match_all区别。int preg_match( string pattern, string subject [, array matches [, int flags]] ) 在 subject 字符串中搜索与...
分类:其他好文   时间:2015-05-07 14:00:32    阅读次数:156
浅谈javascript和java中的字符串
javascript字符串操作 一、字符串的创建创建一个字符串有几种方法。1、最简单的是用引号将一组字符包含起来 var myStr = "Hello, String!";//在js中单双引号没有区别 2、可使用如下语句:var myStr1 = new String("Hello, String....
分类:编程语言   时间:2015-05-07 13:58:04    阅读次数:214
5.1测试
package sizeys;import java.text.DecimalFormat;import java.util.Scanner;public class H { public static void main(String[] args) { Scanner sca...
分类:其他好文   时间:2015-05-07 13:52:09    阅读次数:115
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!