码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
【转载C#的String.Format举例 】
C#的String.Format举例stringstr1=string.Format("{0:N1}",56789);//result:56,789.0stringstr2=string.Format("{0:N2}",56789);//result:56,789.00stringstr3=stri...
分类:Windows程序   时间:2015-05-14 15:51:52    阅读次数:168
第二种自动整理数据生成折线图(相同的功能,差别却这么大)
Sub 总模块() Dim Dic, arr Dim i As Integer, r As Integer, x1, x2, x3, x4, x5, x6 As Integer Dim Str, Str1 As String '拆分字符串,并针对内存数据进行处理 ...
分类:其他好文   时间:2015-05-14 15:44:49    阅读次数:204
第一种vba自动筛选数据自动生成折线图的脚本(自动化)
Sub 数据整理() Dim iAreaCount As Integer Dim i As Integer Dim sTemp, sTemp2 As String Dim iTemp As Long Dim bFind As Boolean Dim...
分类:编程语言   时间:2015-05-14 15:44:09    阅读次数:423
循环网络调用性能对比
NoSQL在批量读取时的性能对比,包括Memcached和Redis。1,Memcached的循环和批量GET对比1.1for循环获取memcached数据Map<String,String>result=newHashMap<String,String>(); for(inti=0,len=keys.length;i<len;i++){ result.put(keys[i],memcacheGet(keys[i]))..
分类:其他好文   时间:2015-05-14 14:29:03    阅读次数:101
Leetcode第六题_ZigZag Conversion
ZigZag ConversionThe 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 font for better legibility)P A H...
分类:其他好文   时间:2015-05-14 14:18:13    阅读次数:174
LeetCode 30 Substring with Concatenation of All Words (C,C++,Java,Python)
Problem: You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a concatenation of each word in wordsexac...
分类:编程语言   时间:2015-05-14 14:17:31    阅读次数:120
自动跳转JS代码
public static void TipAndRedirect(string msg, string goUrl, string second) { HttpContext.Current.Response.Write(""); Htt...
分类:Web程序   时间:2015-05-14 14:00:34    阅读次数:140
怎样解决Java/J2EE中文问题
大部分程序员在编程中都遇到过Java中文问题,但是只要你知道了Java系统的中文问题原理,我们就可以对中文问题说拜拜。最古老的解决方案是使用String的字节码转换,这种方案问题是不方便,我们需要破坏对象封装性,进行字节码转换。还有一种方式是对J2EE容器进行编码设置,如果J2EE应用系统脱离该容器...
分类:编程语言   时间:2015-05-14 13:57:13    阅读次数:139
Redis(三)节省内部空间优化
总体原则:key的名称不易过长,剩下的所有 能用纯数字表示的尽量用Redis的每一个键值都是用一个redisObject结构体表示的结构体中有: 键值的类型(string/list/hash/set/zset) 内部编码方式(下面重点讲) 该键值被多少次引用 内容指针若内容指针指的是字符串,则内容指...
分类:其他好文   时间:2015-05-14 13:33:58    阅读次数:126
Java Learning (3)
类的积累:在写类的时候,必须做好安全性考虑,为确保类中各个元素被安全使用及读取,必须符合下面三个原则:所有域中的变量必须为private,类中必须设定public的域访问方法,类中应设定必需的域修改方法:e.g.public class test{ private String name; ...
分类:编程语言   时间:2015-05-14 13:33:47    阅读次数:163
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!