public class Text01{ public static void main(String
args[]){ int score = -1;
if(score>85&&score75&&score60&&score=0){ Syst...
分类:
移动开发 时间:
2014-05-18 19:23:36
阅读次数:
260
一. 获取当前系统时间和日期并格式化输出: import java.util.Date;
import java.text.SimpleDateFormat; public class NowString { public static void
main(String[] args) { Simp...
分类:
编程语言 时间:
2014-05-18 19:18:13
阅读次数:
280
为实现一些玻璃蒙版的效果,需要用到高斯算法对图片进行模糊处理,基础算法代码如下 1
public static Bitmap fastblur(Context context, Bitmap sentBitmap, int radius) {
2 3 if (VERSION....
分类:
其他好文 时间:
2014-05-18 19:06:13
阅读次数:
297
今天看资料时看到这样一段代码,记录下 public static bool operator
==(EntityBase entity1, EntityBase entity2) { if ((object)entity1 == null
&& (o...
分类:
其他好文 时间:
2014-05-18 18:51:59
阅读次数:
209
static void Main(string[] args) { var retul =
GetListData("wang"); } public static List GetListData(string name) where ...
分类:
其他好文 时间:
2014-05-18 02:06:10
阅读次数:
243
public class MonitorTools { /// ///
获取具体进程的内存,线程等参数情况 /// /// public static void getWorkingSet(string proces...
分类:
其他好文 时间:
2014-05-18 01:01:34
阅读次数:
498
背景 SharedPreferences我觉得是最容易上手的,以xml方式存储。代码
public class share { public static void saveInfo(Context context,String
username,String password) { ...
分类:
移动开发 时间:
2014-05-18 00:35:54
阅读次数:
360
1 #include "windows.h" 2 #include "iostream" 3
#include "stdio.h" 4 using namespace std; 5 6 static LPCTSTR
q_szMutexName="w2kdg.ProcTerm.mutex.Suic.....
/// /// DataTable转成Json /// /// /// public static
string DataTableToJson(DataTable dt) { StringBuilder jsonBuilder = new
StringBuilder(); ...
分类:
Web程序 时间:
2014-05-17 18:40:18
阅读次数:
369
1 namespace ExtensionMethod 2 { 3 class Program 4 {
5 static void Main(string[] args) 6 { 7 //要求很简单,判断字符串是否长度大于三并...
分类:
其他好文 时间:
2014-05-17 18:25:24
阅读次数:
227