Long Long ago...已经成为了历史,我还是要说出一个真相:早年前,那时候,android还不被大众所认知的时候,当然开发者也没不像现在那样趋于饱和状态。一位大牛前辈,也是我的学长,那时候我还在上大学。前辈告诫我有时间得去看看android开发,那时候的自己,年轻、冲动、不畏惧,毅然地选择了java服务端开发,放弃了学习android开发。
时隔数年的今天,因为公司业务项目的发展,我还...
分类:
移动平台 时间:
2014-05-18 09:45:14
收藏:
0 评论:
0 赞:
0 阅读:
455
【题目】
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit string "23"
Output: ["ad", "ae", "af", "bd", "be", "bf",...
分类:
其他 时间:
2014-05-18 07:30:44
收藏:
0 评论:
0 赞:
0 阅读:
405
题目如下:
Til the Cows Come Home
Time Limit: 1000MS Memory Limit: 65536K
Total Submissions: 27726 Accepted: 9353
Description
Bessie is out in the field and wants to get back to the ba...
分类:
其他 时间:
2014-05-18 13:49:41
收藏:
0 评论:
0 赞:
0 阅读:
518
版权所有: zhe-jiang.he@hp.com 严禁转载!
1.安装插件
准备程序:
eclipse-3.3.2(这个版本的插件只能用这个版本的eclipse)
hadoop-0.20.2-eclipse-plugin.jar (在hadoop-0.20.2/contrib/eclipse-plugin目录下)
将hadoop-0.20.2-eclipse-plugin.j...
分类:
系统服务 时间:
2014-05-18 07:32:47
收藏:
0 评论:
0 赞:
0 阅读:
473
链表是数据结构的基础内容之一,下面就链表操作中的创建链表、打印链表、求取链表长度、判断链表是否为空、查找结点、插入结点、删除结点、逆转链表、连接链表、链表结点排序等进行总结。
1.创建表示结点的类,因为链表操作中需要比较结点,因此结点需要实现comparable接口。
public class Node implements Comparable {
private Object data;...
分类:
其他 时间:
2014-05-18 03:04:07
收藏:
0 评论:
0 赞:
0 阅读:
476
程序代码:
bool HelloWorld::init()
{
//////////////////////////////
// 1. super init first
if ( !CCLayer::init() )
{
return false;
}
CCSize visibleSize = CCDirector::s...
分类:
其他 时间:
2014-05-18 10:10:43
收藏:
0 评论:
0 赞:
0 阅读:
432
CSDN换头像的方法...
分类:
其他 时间:
2014-05-18 07:55:20
收藏:
0 评论:
0 赞:
0 阅读:
370
SystemServer是Android系统的核心,APK应用中能够直接交互的大部分系统服务都在该进程中运行,常见的比如WindowManagerServer(Wms)、ActivityManagerSystemService(AmS)、 PackageManagerServer(PmS)等,这些系统服务都是以一个线程的方式存在于SystemServer进程中。
startSystemServe...
分类:
移动平台 时间:
2014-05-18 14:29:43
收藏:
0 评论:
0 赞:
0 阅读:
869
【题目】
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the linked list becomes 1->2->3->5.
Note:
Given n will ...
分类:
其他 时间:
2014-05-18 18:46:46
收藏:
0 评论:
0 赞:
0 阅读:
429
# monkey
usage: monkey [-p ALLOWED_PACKAGE [-p ALLOWED_PACKAGE] ...]
[-c MAIN_CATEGORY [-c MAIN_CATEGORY] ...]
[--ignore-crash...
分类:
移动平台 时间:
2014-05-18 10:09:43
收藏:
0 评论:
0 赞:
0 阅读:
446
题目很像是有上下界的,因为限定了每个小孩最少分享的信息。后来听YYD大神的解释是,也许一个人可以多次分享同一个,所以下界可以无视。如果是这样,题目就好办了。
首先源点向所有人连边,如果不是要求的那个人,边容量就设为他的上界,如果是要求的那个人,边容量就设为无穷,因为他的所有信息都不需要别人共享。
人向自己有的信息连边,容量为1
信息连向汇点,容量为1.
#include
#incl...
分类:
其他 时间:
2014-05-18 08:19:55
收藏:
0 评论:
0 赞:
0 阅读:
418
1.Spring的框架中,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer类可以将.properties(key/value形式)文件中
一些动态设定的值(value),在XML中替换为占位该键($key$)的值,
.properties文件可以根据客户需求,自定义一些相关的参数,这样的设计可提供程序的...
分类:
数据库技术 时间:
2014-05-18 14:06:08
收藏:
0 评论:
0 赞:
0 阅读:
459
由于Linux和Java一样开源,所以现在在服务器的部署上基本上都是采用Linux平台作为服务器,然后部署项目!在开发项目的过程中,绝大部分程序猿还是使用最经典的windows操作系统,虽然Linux也有桌面化的系统,对于国人来说,还是不太习惯,并且国内的软件绝大部分都不支持Linux平台,所以在使用的频率那是相当的少!
在开发中,开发环境中编译使用等一系列通过后,还不能说功能已经ok,因为环境...
分类:
系统服务 时间:
2014-05-18 06:40:26
收藏:
0 评论:
0 赞:
0 阅读:
656
【题目】
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
The brackets must close in the correct order, "()" and "()[]{}" are all valid but "(]" and "([)]" are not.
【题意】
判断给定的字符串是否是合法的...
分类:
其他 时间:
2014-05-18 10:08:40
收藏:
0 评论:
0 赞:
0 阅读:
376
B-number
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2168 Accepted Submission(s): 1165
Problem Description
A wqb-number, or ...
分类:
其他 时间:
2014-05-18 03:31:51
收藏:
0 评论:
0 赞:
0 阅读:
547
使用了几种办法
1:使用Qt下面的QListview来实现QQ类似效果,差强人意
2:使用QWebview加载html css样式来完成,发现效果不错,但是毕竟webview占用巨大的内存
3:使用QTextBrower加载css,但是好像只支持css2.1版本,css3完全不支持,这样的话,花哨的样式应该是无法实现...
分类:
其他 时间:
2014-05-18 15:01:31
收藏:
0 评论:
0 赞:
0 阅读:
570
python版quicksort...
分类:
编程语言 时间:
2014-05-18 14:28:48
收藏:
0 评论:
0 赞:
0 阅读:
455
今天看了下苹果xml 解析,写了个小demo 心想还是 在博客上写点东西吧,毕竟很久很久都没有上来了
先上个效果图把
接下来 看下 工程目录图吧
本demo 分两种解析模式,一是苹果自带的, 首先先看下苹果自带的吧,工程文件为 NoteXMLParser 文件 ,另一种解析模式 是 NotesTBXMLParser文件
NoteXMLParser.h 文件代码如下...
分类:
移动平台 时间:
2014-05-18 08:19:00
收藏:
0 评论:
0 赞:
0 阅读:
516
Ctrl+K 光标放在一个变量上(注意,是变量,如果你的光标放在了字符串上则没有任何用处的),按下Ctrl+K光标会定位到下一个相同的变量
Shift+Ctrl+K 跟Ctrl+K功能一样,方向相反
Ctrl+O 打开类似大纲视图的小窗口
Alt+ 左右方向键,跳到前一次/后一次的编辑位置 (经常会用到)
双击左括号(小括号,中括号,大括号),将选择括号内的所有内容...
分类:
系统服务 时间:
2014-05-18 18:25:54
收藏:
0 评论:
0 赞:
0 阅读:
418
对于本题,想到一个中序遍历后,判别是否为回文串的方法,却WA多次
class Solution {
public:
vector vectorValue;
void inOrder(TreeNode* root)
{
if(root!=NULL)
{
inOrder(root->left);...
分类:
其他 时间:
2014-05-18 06:39:25
收藏:
0 评论:
0 赞:
0 阅读:
429