GPUImageInput协议主要包含一些输入需要渲染目标的操作。 - (void)newFrameReadyAtTime:(CMTime)frameTime atIndex:(NSInteger)textureIndex 说明:准备下一个要使用的新帧 - (void)setInputFr...
动手动脑:多层的异常捕获-1源代码:public class CatchWho { public static void main(String[] args) { try { try { throw new Array...
分类:
其他好文 时间:
2015-11-15 16:24:17
阅读次数:
126
1.注册页面写代理.h文件里的内容如下,需要注意的是: (1).代理名为红色标注,直接复制粘贴 (2).一定要写黄色区域@class RegisterViewController;@protocol RegisterViewControllerDelegate @optional- (void).....
分类:
其他好文 时间:
2015-11-15 16:18:48
阅读次数:
161
1 public class ParamTest { 2 3 /** 4 * @param args 5 */ 6 public static void main(String[] args) { 7 // TODO Auto-generate...
分类:
其他好文 时间:
2015-11-15 16:16:02
阅读次数:
131
assert()函数用法总结 assert宏的原型定义在中,其作用是如果它的条件返回错误,则终止程序执行,原型定义:#include void assert( int expression ); assert的作用是现计算表达式 expression ,如果其值为假(即为0),那么它先向stde.....
分类:
其他好文 时间:
2015-11-15 13:29:08
阅读次数:
111
示例:public class ParentChildTest { public static void main(String[] args) { Parent parent=new Parent(); parent.printValue(); Child child=new Child()...
分类:
其他好文 时间:
2015-11-15 12:17:29
阅读次数:
1317
1 //1 2 new Object(){ 3 void show(){ 4 System.out.println("show run"); 5 } 6 ...
分类:
其他好文 时间:
2015-11-15 12:16:57
阅读次数:
204
namespace Test{ class Program { static void Main(string[] args) { Country cy = (Country)Assembly.Load("Test").CreateIns...
1.this指向当前的对象,更确切的说this是执行当前对象的一个引用变量,比如以下代码,输出的结果的地址值是相同的,也就是this指向了P这个对象 1 public class Person { 2 String name; 3 int age; 4 public void...
分类:
其他好文 时间:
2015-11-15 12:13:06
阅读次数:
149
匿名内部类的格式:new 父类或者接口() { 覆盖父类方法或者定义子类成员}.方法; 1 abstract class Demo2 { 2 abstract void show(); 3 } 4 5 class Outer2 { 6 int num =4; 7 // cl...
分类:
其他好文 时间:
2015-11-15 12:11:18
阅读次数:
141