码迷,mamicode.com
首页 >  
搜索关键字:instance    ( 6546个结果
WPF Tutorial - Using A Visual Collection
While WPF and XAML make the common 90% of UI programming quite easy, sometimes it gets a little odd in those other 10%. For instance - the visual tree...
分类:Windows程序   时间:2014-11-06 16:48:53    阅读次数:280
Java中的static关键字详解
1.static关键字主要有2个作用: ①为某特定的数据类型或者对象分配单一的存储空间,而与创建对象的个数无关。 ②在不创建对象的情况下可以直接通过类名来直接调用方法或者使用类的属性。 2.static主要有4种使用情况:成员变量(属性),成员方法,代码块,和内部类 3.Java中没有全局变量的概念,但是可以通过static来实现全局变量的效果。 Java中提供了2种类型的变量:...
分类:编程语言   时间:2014-11-05 19:48:01    阅读次数:175
strong & weak
Here is a quick summary: A strong reference will keep the object it points to from being deallocated. Aweak reference will not. Thus instance variable...
分类:其他好文   时间:2014-11-05 18:58:44    阅读次数:137
PHP单例模式实现数据库连接
class?DB { ????private?$db_config?=?‘./config.php‘; ????private?static?$_instance; ????private?function?__construct() ????{ ????????if?(file_exists($this->db_conf...
分类:数据库   时间:2014-11-05 13:13:47    阅读次数:210
Redis源码分析(三十一)--- latency延迟分析处理
每当提到延时统计的时候,一定想到的一个名词就是”性能测试“,没错,在Redis的redis_benchmark文件中,的确用到了延迟文件中的相关信息。在Redis中的官方解释此文件: /* The latency monitor allows to easily observe the sources of latency * in a Redis instance using the LAT...
分类:其他好文   时间:2014-11-05 10:55:34    阅读次数:363
this web application instance has been stopped already. Could not load java.net.BindException
最近做项目的时候报了一个错误:Illegalaccess:thiswebapplicationinstancehasbeenstoppedalready.Couldnotloadjava.net.BindException.。。。。。。java.lang.IllegalStateException上网找了很多资料都说是配置文件修改一下就好了,但是我的改了没有用。我是用的是ssh框架,发..
分类:移动开发   时间:2014-11-04 19:53:50    阅读次数:176
c++写日志文件的操作
1 class LogFile 2 { 3 public: 4 static LogFile &instance(); 5 operator FILE *() const { return m_file; } 6 private: 7 LogFile(const char *filen...
分类:编程语言   时间:2014-11-04 19:06:12    阅读次数:322
静态库调用中“unrecognized selector sent to instance”错误
在开发调用静态库的中,出现 “unrecognized selector sent to instance 0x2b5f90”的错误-[__NSCFConstantString xmlChar]: unrecognized selector sent to instance 0x2b5f90 ***...
分类:其他好文   时间:2014-11-04 14:26:24    阅读次数:191
JavaSE_1   基本概念
类是一种抽象的概念,对象是类的一种具体表示形式,是具体的概念。先有类,然后由类来生成对象(Object)。对象又叫做实例(Instance)。类由两大部分构成:属性以及方法。属性一般用名词来表示,方法一般用动词来表示。如果一个java源文件中定义了多个类,那么这些类中最多只..
分类:编程语言   时间:2014-11-04 07:00:06    阅读次数:205
oracle:db-link使用
二个oracle instance,如果需要在一个instance上,直接查询另一个instance上的数据,就要用到db-link创建:create public database link 链接名 connect to 用户名 identified by 密码 using '(DESCRIP.....
分类:数据库   时间:2014-11-03 16:03:42    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!