实践三结对项目学号: 201303014010 姓名:张萍萍 班级:计科(高职)13-1一.题目简介:设计一个名为MyPoint的类,表示一个带x坐标和y坐标的点。该类包括:两个带get方法的数据域x和y,分别表示它们的坐标。一个创建点(0,0)的无参构造方法。一个创建特定坐标点的构造方法。两个数据...
分类:
其他好文 时间:
2015-05-04 11:42:47
阅读次数:
173
<% DBHelperdb=DBHelper.getInstance(); Longsid=Common.getLong(SessionTools.currentWebsite(request).get("id")); Mapobj=newHashMap(); //获取当前页 StringcatId=Common.getString(request,"catId",true); MapnewObj=newHashMap(); if(catId==null||"".equals(catId)..
分类:
其他好文 时间:
2015-05-04 10:16:38
阅读次数:
129
Http定义了与服务器交互的不同方法,最基本的方法有4种,分别是GET,POST,PUT,DELETE。URL全称是资源描述符,我们可以这样认为:一个URL地址,它用于描述一个网络上的资源,而HTTP中的GET,POST,PUT,DELETE就对应着对这个资源的查,改,增,删4个操作。到这里,大家....
分类:
Web程序 时间:
2015-05-04 09:49:14
阅读次数:
133
charles是很好的抓包工具。如何安装呢?可以去官网下载:http://www.charlesproxy.com/download/如果是Debian系列的,可以直接用apt-get 安装http://www.charlesproxy.com/documentation/installation/...
分类:
系统相关 时间:
2015-05-04 01:12:18
阅读次数:
2144
写数据模型类的时候,定义public属性时不慎写成了:public int Wordnum{ get{return this.Wordnum;}}应该把this.Wordnum小写(自己定义的私有成员变量)然后就报了stackoverflow的异常,一开始没有注意,后来发现,这样相当于无限递归调用....
Given two strings s and t, determine if they are isomorphic.
Two strings are isomorphic if the characters in s can be replaced to get t.
All occurrences of a character must be replaced with a...
分类:
其他好文 时间:
2015-05-03 22:08:21
阅读次数:
106
有了这个玩意,不再需要excel了。首先安装gnuplot软件,ubuntu下很简单apt-get install gnuplot然后用emacs package安装gnuplot 和 gnuplot-mode。现在取一个简单的例子说明一下,编辑下面的org文件:#+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yr...
分类:
系统相关 时间:
2015-05-03 22:08:13
阅读次数:
362
一、GET请求和POST请求简单说明创建GET请求1 // 1.设置请求路径2 NSString *urlStr=[NSString stringWithFormat:@"http://192.168.1.53:8080/MJServer/login?username=%@&pwd=%...
分类:
移动开发 时间:
2015-05-03 21:52:49
阅读次数:
118
Description
Given four numbers, can you get twenty-four through the addition, subtraction, multiplication, and division? Each number can be used only once.
Input
The input consists of multi...
分类:
其他好文 时间:
2015-05-03 20:41:17
阅读次数:
136
freemap是免费的思维导图软件,在ubuntu上安装仅需要运行命令:apt-get install freemap但是运行的时候报错:~$ freemind
[warning] /usr/bin/freemind: No java runtime was found
[error] /usr/bin/freemind: Unable to find an appropriate java r...
分类:
系统相关 时间:
2015-05-03 20:39:17
阅读次数:
170