互联网
天之银月
这个作者很懒,什么都没留下…
展开
-
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 · 359 阅读 · 0 评论 -
MYSQL语句对于limit常用用法的讲解
MYSQL语句对于LIMIT的常用用法的介绍原创 2016-03-02 23:00:32 · 907 阅读 · 0 评论 -
javaWeb 实现文件下载的功能
javaWeb 实现文件下载的功能原创 2016-03-02 17:14:47 · 457 阅读 · 0 评论 -
单例模式的多种实现方式
单例模式的多种实现方式原创 2016-03-01 20:41:17 · 6255 阅读 · 1 评论 -
蓝牙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 · 1820 阅读 · 0 评论 -
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 · 372 阅读 · 0 评论 -
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 · 295 阅读 · 0 评论 -
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 · 437 阅读 · 0 评论 -
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 · 296 阅读 · 0 评论 -
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 · 309 阅读 · 0 评论 -
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 · 293 阅读 · 0 评论 -
字节数组转化为16进制字符串输出
近期的一个BLE蓝牙项目要读取硬件发送过来的比特流数据,我们需要将比特流数据线存放到字节数组中,再将字节数组转化为16进制字符串输出。字节数组转化为16进制字符串输出的程序如下:[java] view plaincopy/** * 方式三 * * @param bytes * @ret原创 2015-08-24 11:13:34 · 2050 阅读 · 0 评论 -
android开发环境中的 package explorer不见了
eclipse中上面的工具栏“window”--》show view--》other 然后输入上面的package explorer就可以出来了原创 2014-11-29 18:52:41 · 2879 阅读 · 0 评论 -
对于已知二叉树的中序遍历和后序遍历如何求二叉树的的前序遍历
对于已知二叉树的中序遍历和后序遍历如何求二叉树的的前序遍历原创 2016-03-07 21:46:03 · 2783 阅读 · 0 评论