ATL: Active Template Library(活动模板库) 一种开发框架,通过它可以快速建立基于COM的组件基本特征: 1.对低级别COM功能的内置式支持:IUnknown, 类工厂, self-registration 2.支持IDL(interface definition l...
分类:
其他好文 时间:
2014-06-19 09:09:26
阅读次数:
265
ChangeQueue类实现ChangeSource接口,声明了拉取下一条Change对象的方法 * A source of {@link Change} objects. * * @since 2.8 */public interface ChangeSource { /** * @retu...
分类:
其他好文 时间:
2014-06-19 06:07:09
阅读次数:
264
实现功能: 1. 视频流数据 2. 预览和拍照变焦, 所见即所得。运行环境: 1. XCODE 5.1.1 2. 真机(IPHONE5 , IOS6.1.4)#import #import //导入 - "视频流"@interface MCViewController : UI...
分类:
其他好文 时间:
2014-06-15 22:25:28
阅读次数:
360
Java 中数组声明后不可修改 –跟C一样 ,C中往往会增加定义HASHTABLE,链表等结构来实现动态的数组 但在java中,已经有现成的,称为集合 Collection (interface,有迭代器)├List (interface)│├LinkedList (class)│├ArrayLis...
分类:
编程语言 时间:
2014-06-15 13:12:19
阅读次数:
210
个人写的一些例子:
//
// ViewController.m
// CABasicAnimationDemo
//
// Created by haotian on 14-6-13.
// Copyright (c) 2014年 Baseus. All rights reserved.
//
#import "ViewController.h"
@interface ViewCo...
分类:
其他好文 时间:
2014-06-15 11:17:24
阅读次数:
215
In most cases you will need root permission to be able to capture packets on an interface. Using tcpdump (with root) to capture the packets and saving...
分类:
其他好文 时间:
2014-06-15 06:51:22
阅读次数:
178
参考资料https://github.com/bsdnoobz/web-based-face-detecthttp://opencv-code.com/projects/web-based-interface-for-face-detection-with-opencv/http://www.cnb...
分类:
Web程序 时间:
2014-06-14 21:57:39
阅读次数:
379
Zookeeper的Client直接与用户打交道,是我们使用Zookeeper的interface。了解ZK Client的结构和工作原理有利于我们合理的使用ZK,并能在使用中更早的发现问题。本文将在研究源码的技术上讲述ZK Client的工作原理及内部工作机制。在看完ZK Client的大致架构以...
分类:
其他好文 时间:
2014-06-14 21:14:27
阅读次数:
194
区间搜索问题就是给定一系列区间,和一个待测区间,求与待测区间相交的区间。
为了解决这个问题,需要专门编写一个类,这个类的接口如下:
public interface IntervalST, Value> {
void put(Key lo, Key hi, Value value);
Value get(Key lo, Key hi)
voi...
分类:
其他好文 时间:
2014-06-14 10:36:17
阅读次数:
182
虚方法:可以重写,也可以不重写,英文名:virtual
抽象方法:必须重写,必须放在抽象类中,英文名:abstract
重写:可以重写三种方法:virtual,abstract,override,英文名:override
抽象类:可以有抽象方法,也可以有非抽象方法,英文名:abstract
接口:和抽象类相似,但是里面只有未实现的方法,英文名:interface...
分类:
其他好文 时间:
2014-06-14 09:34:42
阅读次数:
222