//商场类public class Goods { int no; //编号 String name; //商品名称 double price; //商品价格 int number; //商品数量 //初始化数据方法 public void setData(int iNo, String sName... ...
分类:
编程语言 时间:
2017-06-20 12:24:00
阅读次数:
156
Web.xml配置详解之context-param 格式定义: [html] view plaincopy <context-param> <param-name>contextConfigLocation</param-name> <param-value>contextConfigLocatio ...
分类:
Web程序 时间:
2017-06-20 10:56:15
阅读次数:
177
package com.freer.infusion.module.service;import android.app.ActivityManager;import android.app.PendingIntent;import android.app.Service;import androi ...
分类:
移动开发 时间:
2017-06-20 00:12:57
阅读次数:
273
composer 阿里云短信服务使用 xuying/aliyun_mns /** * TODO SMS SERVICE * @param $tmp * @param $moblie * @param $name * @param int $len * @return int */private fu... ...
分类:
其他好文 时间:
2017-06-19 20:58:57
阅读次数:
622
预定义特殊字符 转义字符 意义 ASCII码值(十进制) \a 响铃(BEL) 007 \b 退格(BS) ,将当前位置移到前一列 008 \f 换页(FF),将当前位置移到下页开头 012 \n 换行(LF) ,将当前位置移到下一行开头 010 \r 回车(CR) ,将当前位置移到本行开头 013 ...
分类:
Web程序 时间:
2017-06-19 20:14:26
阅读次数:
199
public class SignInfo { public static final String TAG = "SignInfo"; /** * 获取签名公钥 * * @param mContext * @return */ protected static String getSignInfo ...
分类:
其他好文 时间:
2017-06-19 19:44:36
阅读次数:
106
var_export 文件缓存经常使用 输出或返回一个变量的字符串表示 [php] view plain copy /** * 写入缓存 * * @param string $id * @param mixed $data * @param array $policy */ public funct ...
分类:
其他好文 时间:
2017-06-19 18:39:17
阅读次数:
167
原文:http://www.open-open.com/code/view/1421764946296 ...
分类:
编程语言 时间:
2017-06-19 12:56:03
阅读次数:
151
public class NetAddrUtil { /** * 从url中分析出hostIP<br/> * @param url * @author wull * @return */ public static String getIpFromUrl(String url) { // 1.判断是 ...
分类:
编程语言 时间:
2017-06-19 12:52:51
阅读次数:
224
示意: 偶数:初始数组资源 【10 20 30 40 50 60】 第一趟排序后 60 【20 30 40 50】 10第二趟排序后 60 50 【30 40】 20 10第三趟排序后 60 50 40 30 20 10 奇数:初始数组资源 【10 20 30 23 40 50 60】 第一趟排序后 ...
分类:
编程语言 时间:
2017-06-18 23:34:16
阅读次数:
211