Java提供了3种类型的注释:单行注释(C++风格)在Java中最简单的注释是单行注释。它以两个正斜杠开始并到行尾结束。例如:// this is a single-line commentx = 1; // a single-line comment after code多行注释(C风格)Java...
分类:
编程语言 时间:
2015-03-11 14:31:42
阅读次数:
159
代码写N久了,总想写得别的。这不,上头说在整合两个项目,做成单一登录(Single Sign On),也有人称之为“单点登录”。查阅相关文档后,终于实现了,现在把它拿出来与大家一起分享。或许大家会问:“这与标题不符呀?”别急,在下笔之前,我脑子里想到了我刚使用Form认证时遇到的一些问题,以及使用过...
分类:
其他好文 时间:
2015-03-11 12:28:53
阅读次数:
182
use master go alter database OuAnFind set single_user with rollback immediate --将数据库回滚到原始配置状态 go
drop database OuAnFind
go
分类:
数据库 时间:
2015-03-10 19:13:30
阅读次数:
158
How to find a specific string in a text file?how i did it: i store the whole contents of the .txt file in a single string, close the file, and then, s...
分类:
其他好文 时间:
2015-03-10 13:31:21
阅读次数:
158
这是天津大学2015考研的编程题Problem DescriptionIgnatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should ...
分类:
其他好文 时间:
2015-03-09 14:17:07
阅读次数:
248
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:
其他好文 时间:
2015-03-09 00:24:08
阅读次数:
129
INSERT VALUES插入一行或多行到目标表中-- single rowINSERT INTO Sales.MyOrders(custid, empid, orderdate, shipcountry, freight) VALUES(2, 19, '20120620', N'USA', 30....
分类:
数据库 时间:
2015-03-08 21:30:38
阅读次数:
206
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-03-08 00:02:05
阅读次数:
193
<?php?if?(?is_home()?)?{??>//如果是主页???
<link?rel="stylesheet"?href="cssA"?type="text/css"?/>???
<?php?}?elseif(?is_single()?)?{??>//如果是文章内页???
<link?rel="styles...
分类:
Web程序 时间:
2015-03-06 17:29:10
阅读次数:
140
上一次说到了实现一个简单cache 的基本思路和想法,http://www.cnblogs.com/--00/p/erlang_ets_something_about_cache.html在文末, 说到了判断single record 内存占用量. 这次继续说说Erlang 数据项内存的相关问题.在...
分类:
系统相关 时间:
2015-03-06 16:22:40
阅读次数:
356