interface: 方法默认为public;成员变量默认 static and final对象数组的定义:理解?多接口继承:可以多个接口,但只有一个具体类,具体类在前面自:多接口继承时,来自不同接口的同名方法怎么处理呢?java重载不能依靠返回类型加以区分(C++可以),也不能依靠checked ...
分类:
编程语言 时间:
2014-07-01 21:39:34
阅读次数:
246
【IEnumerator】 用于遍历一个对象,IEnumerator在System.Collections命名空间中。 public interface IEnumerator { object Current { get; ...
分类:
其他好文 时间:
2014-07-01 21:15:14
阅读次数:
185
注意导入头文件类方法的使用//文件名 UIColor+Expend.h 扩展方法.h@interface UIColor (Expend).m// UIColor+Expend.m #import "UIColor+Expend.h"#pragma mark - 颜色转换 IOS中十六进制的颜...
分类:
移动开发 时间:
2014-07-01 20:09:47
阅读次数:
207
1. JNI介绍Java Native Interface(JNI)是Java语言的本地编程接口,是J2SDK的一部分。在java程序中,我们可以通过JNI实现一些用java语言不便实现的功能。通常有以下几种情况我们需要使用JNI来实现。(没有,有,速度)标准的java类库没有提供你的应用程序所需要...
分类:
其他好文 时间:
2014-07-01 13:29:38
阅读次数:
289
#import "MainViewController.h"
#import "Video.h"
#define kBaseURL @"http://192.168.3.252/~apple"
@interface MainViewController ()
@property (strong, nonatomic) NSArray *dataList;
@property (weak, no...
分类:
移动开发 时间:
2014-07-01 11:32:17
阅读次数:
238
一、实现下载文件进度控制1.代码示例 1 #import "YYViewController.h" 2 3 @interface YYViewController () 4 @property(nonatomic,strong)NSMutableData *fileData; 5 @pr...
分类:
移动开发 时间:
2014-07-01 10:36:39
阅读次数:
228
Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
回文字符串是指: 两个字符串的字符个数完全相同,这两个字符串是Anagrams。因此Anagrams至少指俩字符串。找出字符集合中的Anagrams组。...
分类:
其他好文 时间:
2014-07-01 08:42:11
阅读次数:
250
一个显示日期的工具类
.h文件
#import
@interface TimeUtil : NSObject
+ (NSString*)getTimeStr1:(long long)time;
+(NSString*) getTimeStrStyle1:(long long)time;
+ (NSString*)getTimeStr1Short:(long long)time;
...
分类:
其他好文 时间:
2014-07-01 08:21:52
阅读次数:
266
数字视频信号
以SXGA为例,其时序如下:
垂直:
水平:
图中DSPTMG为使能信号,VSYNC为场同步信号,HSYNC为行同步信号。在行场的消隐期(T1与T7),DSPTMG为低电平,在此期间无有效视频数据。
注意一个重要参数:对于这个时序的SXGA点频是108MHz
1066×1688×60=107.964480...
分类:
其他好文 时间:
2014-07-01 08:10:15
阅读次数:
266
DAL:IUserDALnamespace Dal{ /// /// This interface is defined for user functions. /// public interface IUserDal { #region Retur...
分类:
其他好文 时间:
2014-07-01 00:43:02
阅读次数:
308