函数原型:Unit Systemfunction Copy(S: string; Index, Count: Integer): string;说明:S : 字符串. Indexd : 从第几位开始拷贝. Count : 总共要拷贝几位. 从母字符串拷贝至另一个字符串返回值:结果返回新字符串
分类:
其他好文 时间:
2014-06-27 19:39:07
阅读次数:
151
AtomicInteger,一个提供原子操作的Integer的类。在Java语言中,++i和i++操作并不是线程安全的,在使用的时候,不可避免的会用到synchronized关键字。而AtomicInteger则通过一种线程安全的加减操作接口。来看AtomicInteger提供的接口。//获取当前的...
分类:
其他好文 时间:
2014-06-26 18:18:11
阅读次数:
272
postScale:设置图片的缩放packagecom.example.examples_05_09;importandroid.R.integer;importandroid.annotation.SuppressLint;importandroid.content.Context;importa...
分类:
其他好文 时间:
2014-06-26 18:02:00
阅读次数:
153
packagecom.example.examples_05_17;importandroid.R.drawable;importandroid.R.integer;importandroid.content.Context;importandroid.graphics.Canvas;importa...
分类:
其他好文 时间:
2014-06-26 17:57:31
阅读次数:
172
1、常量 a、定义:define()函数, b、大小写敏感 c、常量名称总是大写,前面不加$ d、检查是否定义:defined()函数 e、常量的值只能是标量(boolean,integer,float,string)2、函数的声明:function
分类:
Web程序 时间:
2014-06-26 06:32:09
阅读次数:
174
Java中的基本数据类型分四类八种byte(Byte-1)/short(Short-2)/int(Integer-4)/long(Long-8)boolean(Boolean-1bit)char(Character-2)float(Float-4)/double(Double-8)括号后是他们的包装...
分类:
编程语言 时间:
2014-06-25 11:31:46
阅读次数:
234
原题:
钱币兑换问题
Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)
Total Submission(s) : 2 Accepted Submission(s) : 2
Font: Times New Roman | Verdana | Georgia
Fo...
分类:
其他好文 时间:
2014-06-25 08:35:15
阅读次数:
174
题目
Implement atoi to convert a string to an integer.
Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possibl...
分类:
其他好文 时间:
2014-06-24 23:14:28
阅读次数:
238
check_disk命令用法:check_disk-wlimit-climit[-Wlimit][-Klimit]{-ppath|-xdevice}
[-C][-E][-e][-ggroup][-k][-l][-M][-m][-Rpath][-rpath]
[-ttimeout][-uunit][-v][-Xtype]选项:-h,--help
-V,--version
-w,--warning=INTEGER
如果磁盘空闲容量小于INTEGER单位时、ExitwithW..
分类:
其他好文 时间:
2014-06-24 16:34:34
阅读次数:
710