一、string中的常用属性 1. length 说明: 字符串的长度属性,一直保持跟踪着该字符串中包含的字符数。 二、string中的常用方法 1. toLowerCase() 和 toUpperCase() 说明: toLowerCase(): returns a copy of the str ...
分类:
编程语言 时间:
2019-04-12 23:05:21
阅读次数:
176
public static class SqlHelper { /// <summary> /// 获取连接字符串 /// </summary> /// <returns>连接字符串</returns> public static string GetSqlConnectionString() { ...
分类:
数据库 时间:
2019-04-12 13:30:43
阅读次数:
625
概述 java延迟队列提供了在指定时间才能获取队列元素的功能,队列头元素是最接近过期的元素。没有过期元素的话,使用poll()方法会返回null值,超时判定是通过getDelay(TimeUnit.NANOSECONDS)方法的返回值小于等于0来判断。延时队列不能存放空元素。 延时队列实现了Iter ...
分类:
编程语言 时间:
2019-04-10 13:49:49
阅读次数:
343
/** * Returns a string containing the string representation of each of {@code parts}, using the * previously configured separator between each. * @par... ...
分类:
其他好文 时间:
2019-04-10 11:54:28
阅读次数:
117
Document.documentElement returns the Element that is the root element of the document (for example, the <html> element for HTML documents). ...
分类:
其他好文 时间:
2019-04-09 12:37:21
阅读次数:
107
1 先获取1级菜单集合 /// <summary> /// 获取菜单列表 /// </summary> /// <returns></returns> public List<MenuInfo> GetMenuList() { List<MenuInfo> departments = new Lis ...
參考资料(pl/pgsql 官方文档): http://www.postgresql.org/docs/9.3/static/plpgsql.html create or replace function creatData2() returns boolean AS $BODY$ declare ...
分类:
其他好文 时间:
2019-04-05 10:44:15
阅读次数:
188
注意:本教程需要Truffle4.0或者是更高的版本 以太坊的智能合约只是代码,和我们的纸质代码不同,此合同需要非常精确的方式理解 如果合同编码不正确,我们的交易可能会失败,会导致gas的损失,更不用说浪费时间和精力 Truffle(从版本4开始)有一个内置的调试器,用于单步执行代码,所以当有错误出 ...
分类:
其他好文 时间:
2019-04-05 00:40:05
阅读次数:
218
address的四个方法send,call,callcode,delegatecall 例子:发送以太币的send方法//下面是send方法,涉及到以太币的情况可能用到payable,senddemo方法是可以发送以太币过去的,add.transfer(u) call方法,注意地址.call,和地址 ...
分类:
其他好文 时间:
2019-04-04 10:03:05
阅读次数:
613
/// <summary> /// 前端Ajax /// </summary> /// <returns></returns> function Upload() { var HobbyName = ""; $("input[name=Hobby]:checked").each(function ( ...
分类:
Web程序 时间:
2019-04-01 21:28:54
阅读次数:
210