??
问题描述:Given
n non-negative integers a1,
a2, ...,
an, where each represents
a pointat coordinate (i, ai).
n vertical lines aredrawn such that the two endpoints of line i is at (i,
ai) and (...
分类:
其他好文 时间:
2015-04-07 11:59:19
阅读次数:
129
linux内核中得container_of宏介绍...
分类:
其他好文 时间:
2015-04-07 09:45:09
阅读次数:
111
我创建了1个activity里有4个tab的fragment,假如4个tab为ABCD在tab C中,初始化UI,UI中有一个EditText: public View onCreateView(LayoutInflater inflater, ViewGroup container, Bun...
分类:
其他好文 时间:
2015-04-07 00:42:22
阅读次数:
169
典型菜单资源结构:根元素且没有属性,在根元素里面会嵌套和子元素,里面可以嵌套形成子菜单。表示一个菜单组,相同的菜单组可以一起设置其属性,属性说明如下id:唯一标示该菜单组的引用idmeunCategory:对菜单进行分类,定义菜单的优先级,有效值为container,system,secondary...
分类:
移动开发 时间:
2015-04-07 00:37:40
阅读次数:
263
package Iterator;import java.util.*;/**实现创建具体迭代器角色的接口, 这个具体迭代器角色与该容器的结构相关**/public class ConcreteContainer implements Container { private Vector ve...
分类:
其他好文 时间:
2015-04-06 21:41:57
阅读次数:
257
Tomcat体系结构中有一个非常重要的概念——连接器,看下面这张图
一个connecotr对应一个container,connector用于接收请求,然后传递给container组件去处理,tomcat中默认的连接器是coyote,按照协议类型分,有http和ajp的连接器。
HTTP/1.1协议负责建立HTTP连接,web应用通过浏览器访问tomcat服务器用的就是这个连接器,默认监...
分类:
其他好文 时间:
2015-04-06 20:22:13
阅读次数:
130
题目:
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
...
分类:
其他好文 时间:
2015-04-06 17:17:36
阅读次数:
142
关于scrollbar只研究上下滚动1. 首先Scrollbar的父窗口是ContainerUI,不管哪个控件想使用滚动条,该空间必须是Container或者继承Container.2. 该函数记录滚动条的百分比的数值是m_nScrollPos,然后记录滚动条总共被分成多少份的则是m_nRange。...
分类:
其他好文 时间:
2015-04-06 10:04:47
阅读次数:
151
1、.span4已经不适用,改成col-XX-xX容器:container,全屏布局:container-fluidSee how aspects of the Bootstrap grid system work across multiple devices with a handy table...
分类:
其他好文 时间:
2015-04-05 16:03:05
阅读次数:
109
1.Docker Client配置容器网络模式Docker目前支持4种网络模式,分别是bridge、host、container、none,Docker开发者可以根据自己的需求来确定最适合自己应用场景的网络模式。从Docker Container网络创建流程图中可以看到,创建流程第一个涉及的Dock...
分类:
其他好文 时间:
2015-04-05 13:20:23
阅读次数:
199