自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

转载 Integer与int的比较

直接上代码来说:public class Main{ public static void main(String[] args) { int i = 128; Integer i2 = 128; Integer i3 = new Integer(128); System.out.println(i == i2);//

2016-11-13 11:10:36 329

原创 leetcode438. Find All Anagrams in a String

@小花题目描述:Given a string s and a non-empty string p, find all the start indices of p's anagrams in s.Strings consists of lowercase English letters only and the length of both strings s and p

2016-10-31 13:46:06 3334 1

原创 Leetcode349. Intersection of Two Arrays

@小花Given two arrays, write a function to compute their intersection.Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2].Note:Each element in the result must be uniqu

2016-10-25 16:38:39 264

原创 Leetcode374. Guess Number Higher or Lower

@小花还是一道easy难度的题目,直接放题目好了。We are playing the Guess Game. The game is as follows:I pick a number from 1 to n. You have to guess which number I picked.Every time you guess wrong, I'll

2016-10-25 16:06:02 280 1

原创 Leetcode414. Third Maximum Number

@小花刚开始写一些leetcode的一些笔记,并没有什么经验。关于题目的描述如下:Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time compl

2016-10-20 16:30:48 2251

转载 loser跟专业无关

转载自:http://blog.csdn.net/datuqiqi/article/details/46406409   最近听说了这样一则学术圈八卦。这位老师是一位世界知名的华人经济学家,在学院里深受同学们尊敬。话说他当年本科专业是数学,成绩优异。拿着丘成桐的推荐信赴美读书。到了美国后,发现自己的兴趣其实在经济学。大神终究是大神。我们的这位老师果断努力学习之,从邱老师那里拿下数学博士学位,然

2015-07-30 11:29:53 259

转载 WebService的两种方式SOAP和REST比较

转自:http://stevenjohn.iteye.com/blog/1442776由于第一次接触WebService,对于很多概念不太理解,尤其是看到各个OpenAPI的不同提供方式时,更加疑惑。如google map api采用了AJAX方式,通过javascript提供API,而淘宝TOP则采用直接的HTTP+XML请求方式,最令我疑惑的是教材上讲的WSDL,UDDI从没有在这些API

2015-07-18 15:24:33 345

转载 WebService大讲堂之Axis2(8):异步调用WebService

转自:http://www.blogjava.net/nokiaguy/archive/2009/02/13/254548.html      在前面几篇文章中都是使用同步方式来调用WebService。也就是说,如果被调用的WebService方法长时间不返回,客户端将一直被阻塞,直到该方法返回为止。使用同步方法来调用WebService虽然很直观,但当WebService方法由于各种原

2015-07-18 15:22:59 387

转载 WebService大讲堂之Axis2(7):将Spring的装配JavaBean发布成WebService

原文地址:http://www.blogjava.net/nokiaguy/archive/2009/04/archive/2009/nokiaguy/archive/2009/nokiaguy/archive/2009/02/13/254499.html   在现今的Web应用中经常使用Spring框架来装载JavaBean。如果要想将某些在Spring中装配的JavaBean发布成We

2015-07-15 19:03:23 496

转载 WebService大讲堂之Axis2(6):跨服务会话(Session)管理

原文地址:http://www.blogjava.net/nokiaguy/archive/2009/04/archive/2009/nokiaguy/archive/2009/nokiaguy/archive/2009/02/03/253154.html在《WebService大讲堂之Axis2(5):会话(Session)管理》一文中介绍了如何使用Axis2来管理同一个服务的会话,但对

2015-07-15 19:02:19 593

转载 WebService大讲堂之Axis2(5):会话(Session)管理

原文地址:http://www.blogjava.net/nokiaguy/archive/2009/04/archive/2009/nokiaguy/archive/2009/nokiaguy/archive/2009/01/26/252564.htmlWebService给人最直观的感觉就是由一个个方法组成,并在客户端通过SOAP协议调用这些方法。这些方法可能有返回值,也可能没有返回值

2015-07-15 19:00:32 420

转载 WebService大讲堂之Axis2(2):复合类型数据的传递

转载自:http://www.blogjava.net/nokiaguy/archive/2009/04/archive/2009/nokiaguy/archive/2009/nokiaguy/archive/2009/01/04/249805.html在实际的应用中,不仅需要使用WebService来传递简单类型的数据,有时也需要传递更复杂的数据,这些数据可以被称为复合类型的数据。数组与

2015-07-15 18:46:43 678 1

转载 WebService大讲堂之Axis2(1):用POJO实现0配置的WebService

转载自 http://www.blogjava.net/nokiaguy/archive/2009/04/archive/2009/nokiaguy/archive/2009/nokiaguy/archive/2009/01/02/249556.htmlAxis2是一套崭新的WebService引擎,该版本是对Axis1.x重新设计的产物。Axis2不仅支持SOAP1.1和SOAP1.2,

2015-07-15 18:43:50 258

转载 照猫画虎学gnuplot之折线图

本节重点:如何利用已知数据来画折线图。首先说明:gunplot文件的后缀名为*.plt,本节讲述如何利用已知数据来画折线图,顾名思义必然涉及到两个文件:一个是需要的数据文件,即*.dat文件,另一个就是由gunplot命令组成的*.plt文件,后者必然以前者为基础才能作图,所以必须将两者置于同一文件夹内。 具体步骤:1、首先在某一路径下建立一文件夹,然后新建两个*.txt文

2015-07-15 13:00:50 1173

原创 关于JAVA类型处理的效率

对于java小数的处理而言,在处理一个比较大的文档的过程中发现,使用double类型计算的时间大约是float计算时间的3倍左右。

2015-07-09 20:22:23 243

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除