创建Person类public class Person { private String name; private int age; public String getName() { return name; } public void setNam...
分类:
编程语言 时间:
2015-06-16 16:15:48
阅读次数:
110
/** * @Descriptionmap 将图片文件转化为字节数组字符串,并对其进行Base64编码处理 * @author temdy * @Date 2015-01-26 * @param path 图片路径 * @return */public static String imageToBa...
分类:
编程语言 时间:
2015-06-16 16:10:43
阅读次数:
149
#include #include #include #include #define STREAMBUFFER 1024#define FILEPATHSIZE 256/** 将一个文件读到内存return 成功 首地址 失败 0*/void* get...
分类:
其他好文 时间:
2015-06-16 16:08:18
阅读次数:
125
这里介绍一个Mac系统统计代码行数的工具cloc。1、首先,安装homebrew,已安装的请跳过。打开终端工具Terminal,输入下列命令。过程中会让你按RETURN键以及输入mac桌面密码,按照提示进行操作即可:ruby -e "$(curl -fsSL https://raw.githubus...
分类:
系统相关 时间:
2015-06-16 16:01:52
阅读次数:
299
//Long是需要比较精度的,所以要用longValueif(project.getFriendId().longValue() != friendId.longValue()) { return this.parseReturnMap(false, null, "项目...
分类:
其他好文 时间:
2015-06-16 16:01:44
阅读次数:
257
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath{ if (indexPath.section == 0) { return NO; } ...
分类:
其他好文 时间:
2015-06-16 16:01:41
阅读次数:
116
有些时候,需要打印的凭证实现资本额多次,例如有多种写法来实现比如一下几种CREATE OR REPLACE FUNCTION chinese_number_program(p_input FLOAT) RETURN VARCHAR2 AS TYPE typ_money IS TABLE OF...
分类:
其他好文 时间:
2015-06-16 14:41:15
阅读次数:
224
HBaseConvetorUtil实体转换工具类public class HBaseConvetorUtil { /** *@Title:convetor *@Description:传入hbase返回结果值,返回实例集合 *@param *@return *@throws */ publics.....
分类:
其他好文 时间:
2015-06-16 14:32:56
阅读次数:
157
HBaseConvetorUtil实体转换工具类public class HBaseConvetorUtil { /** *@Title:convetor *@Description:传入hbase返回结果值。返回实例集合 *@param *@return *@throws */ publics.....
分类:
其他好文 时间:
2015-06-16 14:20:42
阅读次数:
155
<script?type="text/javascript">
??function?a(){
????return?3>3???5>2????1?:?2?:3;
??}
??var?b?=?a();
??console.log(b);
??//真?假?2
??//真?真?1
??//假?假?...
分类:
其他好文 时间:
2015-06-16 13:13:40
阅读次数:
316