码迷,mamicode.com
首页 >  
搜索关键字:container    ( 5967个结果
ViewPage :Required method instantiateItem was not overridde
java.lang.UnsupportedOperationException: Required method instantiateItem was not overridden 把return super.instantiateItem(container, position); 换成: return container;...
分类:其他好文   时间:2014-10-10 11:49:24    阅读次数:572
Spring框架:Spring与持久化
Spring的持久化用于简化数据的操作。 数据源 数据源有多种类型:JNDI、连接池、JDBC。 JNDI的配置方法。例子中使用Tomcat作为Web容器。首先要在context.xml中加上下面这段代码。 <Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource" ...
分类:编程语言   时间:2014-10-09 02:08:07    阅读次数:407
【LeetCode】【Python题解】Container with most water
这道题真真是在面试中碰到过,可惜当时复杂度到O(n2)了,太挫了,怪不得没有通过面试。 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 en...
分类:编程语言   时间:2014-10-09 01:58:17    阅读次数:229
android之针对fragment多次调用onCreateView的问题
直接上解决的代码模块private View rootView;@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { ...
分类:移动开发   时间:2014-10-09 00:46:57    阅读次数:2065
From Apprentice To Artisan 翻译 04
##Reflect Resolution 反射解决方案 One of the most powerful features of the Laravel container is its ability to automatically resolve dependencies via reflection. Reflection is the ability to inspe...
分类:移动开发   时间:2014-10-08 23:18:27    阅读次数:331
(转)内核container_of(ptr,type,member) 解析
container_of(ptr,type,member) 用于在已知结构体里面成员member和该成员指针ptr(就是地址)和结构体类型type, 返回该成员所在的结构体的指针(就是地址), 例如已知structstudenta{char*name;intage;}int*page=&age;co...
分类:其他好文   时间:2014-10-05 17:43:08    阅读次数:165
ueditor使用注意点
1、js的引入问题       先ueditor的配置文件 2、表单提交获取值的问题   ${param.content }     name="content" type="text/plain">                        var ue = UE.getEditor('container');             其...
分类:其他好文   时间:2014-10-04 20:37:47    阅读次数:217
Oracle 12c创建用户是出现“ORA-65096: invalid common user or role name”的错误
这篇文章主要介绍CDB和PDB的基本管理,资料来源oracle官方。基本概念:Multitenant Environment:多租户环境CDB(Container Database):数据库容器PD(Pluggable Database):可插拔数据库CDB与PDB关系图在oracle 12c中,使...
分类:数据库   时间:2014-10-02 20:08:53    阅读次数:348
Autofac IoC容器基本使用步骤
一.基本步骤:1.设计适合控制反转(IoC)的应用程序2.给应用程序Autofac引用.3.注册组件.4.创建一个Container以备后用.5.从Container创建一个 lifetime scope .6.使用这个Lifetime Scope来解析组件的实例.二.详细介绍:1.什么是控制反转?...
分类:其他好文   时间:2014-10-02 03:09:22    阅读次数:226
vector和map的迭代器失效问题
1.vector #include #include #include using namespace std; void vectorTest() { vector container; for (int i = 0; i < 10; i++) { container.push_back(i); } vector::iterato...
分类:其他好文   时间:2014-09-30 11:29:32    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!