<TextView
android:id="@+id/firstview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#ff0000"
android:text="第一个Textview"/>
<TextView
android:id="@+id/second"
android:layout_width="wrap_content"
andro..
分类:
移动开发 时间:
2015-06-05 23:01:46
阅读次数:
654
C#定义并实现单链表usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceLinked
{
//单链表结点类,采用泛型
publicclassNode<T>
{
privateTdata;//数据域,当前结点的数据
privateNode<T>ne..
分类:
编程语言 时间:
2015-06-05 23:01:35
阅读次数:
291
DescriptionIgnatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should reverse all the words an...
分类:
其他好文 时间:
2015-06-05 19:08:09
阅读次数:
112
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<ul>
<li id="bj"...
分类:
Web程序 时间:
2015-06-05 18:03:14
阅读次数:
153
<scripttype="text/javascript">
//$->jQuery
$(document).ready(function(){
//alert("------------");
//1实现增加的操作
$.ajax(
{
url:"SchoolNewsServlet
",
success:function(result)
{
//传递过来的json数据可以是json对象也可以是json串,json..
分类:
Web程序 时间:
2015-06-05 17:59:31
阅读次数:
138
采用Apache版本spark1.2.1时没有出现乱码,但spark-1.1.0-cdh5.2.1版本中,在分布处理的map函数里对数据进行打印输出进行debug时valrs=rdd.filter(e=>{val(lable,text)=(e._2(2),e._2(3));m.filterItem(lable,text)})
.reduceByKey((x,y)=>m.merge(x,y))
.map{case(x,y)=..
分类:
其他好文 时间:
2015-06-05 17:58:49
阅读次数:
181
图图表示点之间的关系,在C#中通过节点对象的集合来表示点(Vertex),用邻接矩阵(adjacencymatrix)来表示点之间的关系。下面来看C#实现。usingSystem;
usingSystem.Collections;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.T..
分类:
编程语言 时间:
2015-06-05 17:57:16
阅读次数:
158
---正在执行的selecta.username,a.sid,b.SQL_TEXT,b.SQL_FULLTEXTfromv$sessiona,v$sqlareabwherea.sql_address=b.address---执行过的selectb.SQL_TEXT,b.FIRST_LOAD_TIME...
分类:
数据库 时间:
2015-06-05 17:17:58
阅读次数:
184
!!android:inputType参数类型说明android:inputType="none"--输入普通字符android:inputType="text"--输入普通字符android:inputType="textCapCharacters"--输入普通字符android:inputTyp...
分类:
移动开发 时间:
2015-06-05 17:10:31
阅读次数:
145
查找文档 以grep 程序查找文本(匹配文本 matching text)相当方便.传统上有三种程序可以用来查找整个文本文件.grep 最早的文本匹配程序.其最简单的方式就是使用固定字符串$ who |grep -F austen //范例中使用- F 选项,以查找固定字符串 austen....
分类:
系统相关 时间:
2015-06-05 17:02:33
阅读次数:
207