码迷,mamicode.com
首页 >  
搜索关键字:servicestack 官方案例 example 要点说明    ( 18087个结果
LeetCode: Combinations [077]
【题目】 Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example, S = "ADOBECODEBANC" T = "ABC" Minimum window is "BANC". Note: If there is no such window in S that covers ...
分类:其他好文   时间:2014-06-05 11:14:26    阅读次数:255
LeetCode: Minimum Window Substring [076]
【题目】 Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example, S = "ADOBECODEBANC" T = "ABC" Minimum window is "BANC". Note: If there is no such window in S that covers ...
分类:Windows程序   时间:2014-06-05 10:03:07    阅读次数:473
安卓实训第八天----Activity的生命周期
一、Activity的使用:package com.example.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import androi...
分类:移动开发   时间:2014-06-05 09:36:01    阅读次数:276
Implicit Intent--含蓄的intent
通过intent调用打电话,打开地图、打开浏览器,创建邮件,创建事件的操作 截图: 代码 package com.example.hellointent; import java.util.Calendar; import java.util.List; import org.apache.http.protocol.HTTP; import android.net.Uri; ...
分类:其他好文   时间:2014-06-05 08:01:16    阅读次数:281
activity生命周期的onPause和onStop
搞了这么长时间的android开发,却对一些基础的东西一直模棱两可。。。就比如这个onPause和onStop。如果从一个界面,跳到另一个界面,那么是调用哪个呢? 经过我的实验。搞清楚了。onPause是有活动状态变为非活动状态。onStop()是变为不可见。那么从一个页面跳到另一个页面就是依次调用onPause,onStop.看下程序: package com.example.fuhe;...
分类:其他好文   时间:2014-06-05 07:15:29    阅读次数:234
每日算法之二十:Generate Parentheses
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "((()))", "(()())", "(())()", "()(())", "()()...
分类:其他好文   时间:2014-06-05 02:15:14    阅读次数:262
UVa-101 - The Blocks Problem
The Blocks Problem  Background  Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and robo...
分类:其他好文   时间:2014-06-04 21:55:37    阅读次数:313
LeetCode: Remove Duplicates from Sorted List II [083]
【题目】 Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. For example, Given 1->2->3->3->4->4->5, return 1->2->5. Given 1->1->1->2->3, return 2->3. 【题意】 给定一个有序链表,删出其中重复出现的值...
分类:其他好文   时间:2014-05-31 21:14:11    阅读次数:333
leetCode解题报告5道题(九)
题目一:CombinationsGiven two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4],....
分类:其他好文   时间:2014-05-31 20:01:02    阅读次数:455
SharedPreferences 使用
1,获取到SharedPreferences2,编辑SharedPreferencesSharedPreferences.Editor3,提交commit()4,获取get****package com.example.listactivity;import android.app.Activity...
分类:其他好文   时间:2014-05-31 18:18:11    阅读次数:406
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!