码迷,mamicode.com
首页 >  
搜索关键字:tasks and back stack    ( 26134个结果
Socket的简单例子
服务器端using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Net;using System.Net.S...
分类:其他好文   时间:2014-07-22 22:56:34    阅读次数:160
ndk-stack使用方法(转)
最近在mac上编译android 版本,各种崩溃让人蛋疼,网上学习了下ndk-stack使用方法。自己备忘下:1.运行终端。跳转到你android sdk 目录 因为你的adb 在里面。如 cd /Users/name/Android/adt-bundle-mac-x86_64-20131030/s...
分类:其他好文   时间:2014-07-16 19:11:45    阅读次数:207
List提高
前面LZ已经充分介绍了有关于List接口的大部分知识,如ArrayList、LinkedList、Vector、Stack,通过这几个知识点可以对List接口有了比较深的了解了。只有通过归纳总结的知识才是你的知识。所以下面LZ就List接口做一个总结。推荐阅读:java提高篇(二一)-----Arr...
分类:其他好文   时间:2014-07-16 19:07:47    阅读次数:321
Java集合类具体解释
假设您喜欢这些文章,欢迎点击此处订阅本Blog集合类说明及差别Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口 Collection是最主要....
分类:编程语言   时间:2014-07-16 18:27:44    阅读次数:194
Android 响应menu,back键,点击外部消失
点击外部消失,只需要设置popupWindow.setBackgroundDrawable(new PaintDrawable());设置popupWindow.setFocusable(true); //popupWindow.setBackgroundDrawable(new PaintDra....
分类:移动开发   时间:2014-07-16 12:34:06    阅读次数:808
汇编入门学习笔记 (九)—— call和ret
疯狂的暑假学习之 汇编入门学习笔记 (九)—— call和ret 参考: 《汇编语言》 王爽 第10章 call和ret都是转移指令。 1. ret和retf ret指令:用栈中的数据,修改IP内容,从而实现近转移 相当于: pop ip retf指令:用栈中的数据,修改CS和IP,从而实现远转移 相当于: pop ip pop cs 例子:ret assume cs:code,ss:stack stack segment db 16 dup(1) stack ends code seg...
分类:其他好文   时间:2014-07-16 10:32:37    阅读次数:267
泛型的静态成员
------------------------------------StaticDome.csusingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication3 { publicclassStaticDome<T> { publicstaticintx; } }------------..
分类:其他好文   时间:2014-07-15 12:17:08    阅读次数:182
泛型约束
-----------------------------------IDocument.cs(定义一个接口)usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication3 { publicinterfaceIDocument { stringTitle{get;set;}//文..
分类:其他好文   时间:2014-07-15 11:38:31    阅读次数:272
类型安全---泛型与非泛型
============================================================非泛型-------------------------LinkedListNode.cs类usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication1 { publi..
分类:其他好文   时间:2014-07-15 11:33:25    阅读次数:273
二叉树的非递归遍历
先写下这个问题的模式 def preorderTraversal(self, root): if root == None: return [] re = [] insert root to stack s while s not empty: cur_root = top of stack s s.pop() how to handle cur_root how to ...
分类:其他好文   时间:2014-07-15 10:17:43    阅读次数:274
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!