自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 资源 (1)
  • 收藏
  • 关注

原创 对于已知二叉树的中序遍历和后序遍历如何求二叉树的的前序遍历

对于已知二叉树的中序遍历和后序遍历如何求二叉树的的前序遍历

2016-03-07 21:46:03 2740

原创 MYSQL语句对于limit常用用法的讲解

MYSQL语句对于LIMIT的常用用法的介绍

2016-03-02 23:00:32 880

原创 javaWeb 实现文件下载的功能

javaWeb 实现文件下载的功能

2016-03-02 17:14:47 450

原创 单例模式的多种实现方式

单例模式的多种实现方式

2016-03-01 20:41:17 6248 1

原创 LeetCode----------------------Reverse Words in a String

Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the"程序如下:public class Solution {    public String reverseWord

2015-09-04 13:45:43 366

原创 LeetCode------------------Add Digits

Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has on

2015-09-02 14:08:10 289

原创 LeetCode---------------Sort Colors

Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.Here, we will use the integers

2015-09-02 11:24:32 304

原创 LeetCode--------------Ugly Number

Write a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 6, 8 are ugly while 14 is not ugly si

2015-09-01 23:51:20 430

原创 leetcode--------------Length of Last Word

Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.Note: A word is

2015-09-01 23:19:48 291

原创 leetcode---Factorial Trailing Zeroes

Factorial Trailing Zeroes Given an integer n, return the number of trailing zeroes in n!Note: Your solution should be in logarithmic time complexity.该题的意思是求n!尾部有多少个0。分析:1*2*.

2015-09-01 15:07:22 291

原创 字节数组转化为16进制字符串输出

近期的一个BLE蓝牙项目要读取硬件发送过来的比特流数据,我们需要将比特流数据线存放到字节数组中,再将字节数组转化为16进制字符串输出。字节数组转化为16进制字符串输出的程序如下:[java] view plaincopy/**      * 方式三      *       * @param bytes      * @ret

2015-08-24 11:13:34 2029

翻译 蓝牙UUID及其128位换算

最近一直在弄BLE设备与手机的连通,学习了uuid读取以及蓝牙UUID的换算。摘自蓝牙核心规格文档《Core_V4.0.pdf》A UUID is a universally unique identifier that is guaranteed to be unique across all space and all time.  UUIDs can be ind

2015-08-21 11:27:49 1786

转载 java异常类

Java中的异常 Exception  java.lang.Exception类是Java中所有异常的直接或间接父类。即Exception类是所有异常的根类。  比如程序: public class ExceptionTest{ public static void main(String[] args) { int

2015-08-05 17:53:01 342

原创 java内部类的理解

内部类访问特点:1,内部类可以直接访问外部类中的成员。2,外部类要访问内部类,必须建立内部类的对象。分析事物时,发现该事物描述中还有事物,而且这个事物还在访问被描述事物的内容。这时就是还有的事物定义成内部类来描述。注意:1.如果内部类中定义了静态成员,该内部类也必须是静态的。2.如果内部类是静态的。 相当于一个外部类为什么内部类能直接访问外部类中成员呢?

2015-08-05 15:27:40 391

原创 java多态的理解

/*多态时,成员的特点:1,成员变量。编译时:参考引用型变量所属的类中的是否有调用的成员变量,有,编译通过,没有,编译失败。运行时:参考引用型变量所属的类中的是否有调用的成员变量,并运行该所属类中的成员变量。简单说:编译和运行都参考等号的左边。哦了。作为了解。2,成员函数(非静态)。编译时:参考引用型变量所属的类中的是否有调用的函数。有,编译通过,没有,编译

2015-08-05 14:55:46 315

原创 java中静态方法和实例方法的区别

静态方法和实例方法的区别  在外部调用静态方法时,可以使用"类名.方法名"的方式,也可以使用"对象名.方法名"的方式。而实例方法只有后面这种方式。也就是说,调用静态方法可以无需创建对象。静态方法在访问本类的成员时,只允许访问静态成员(即静态成员变量和静态方法),而不允许访问实例成员变量和实例方法;实例方法则无此限制。 之所以不允许静态方法访问实例成员变量,是因为实例成员变量

2015-07-23 16:33:05 1321

原创 android开发环境中的 package explorer不见了

eclipse中上面的工具栏“window”--》show view--》other 然后输入上面的package explorer就可以出来了

2014-11-29 18:52:41 2856

转载 The connection to adb is down, and a severe error has occured完整解决办法

其早上在启动Eclipse进行安卓模拟机调试的时候,发现模拟器打不开了,提示错误如下:[2013-08-17 08:41:22 - ListViewTest] The connection to adb is down, and a severe error has occured.[2013-08-17 08:41:22 - ListViewTest] You must re

2014-11-29 18:48:33 352

The Theory of Information andCoding

适合于通信专业的研究生或高年级本科生学习研究生,有益于对扩频技术的加深理解。

2014-04-04

空空如也

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

TA关注的人

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