代码:class MyQueue { // Push element x to the back of queue. Stack stack = new Stack(); Stack aux = new Stack(); public void push(int x) { ...
分类:
其他好文 时间:
2016-01-13 07:06:32
阅读次数:
227
#import "ViewController.h"#import @interface ViewController ()@end@implementation ViewController- (void)touchesBegan:(NSSet *)touches withEvent:(UIEve...
分类:
移动开发 时间:
2016-01-12 15:34:00
阅读次数:
184
#import "AppDelegate.h"#import "GlobalDefine.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)applicatio...
分类:
其他好文 时间:
2016-01-12 15:16:53
阅读次数:
195
1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 - (void)viewDidLoad {10 [super ...
分类:
其他好文 时间:
2016-01-12 11:34:30
阅读次数:
739
@interface ViewController ()@property (nonatomic, strong) UIWebView *webView;@end@implementation ViewController- (void)viewDidLoad { [super viewDidLo....
分类:
Web程序 时间:
2016-01-09 22:55:55
阅读次数:
247
#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; // Do any add...
分类:
其他好文 时间:
2016-01-09 18:29:17
阅读次数:
147
#import "timerViewController.h"@interface timerViewController (){ NSTimer *timerTaks; int CountdownInt; UILabel *labCountdown;}@end@implementation ...
分类:
其他好文 时间:
2016-01-07 18:01:07
阅读次数:
129
UIScrollView本身事是不支持touch的,我们可以给她添加拓展#import "UIScrollView+util.h"@implementation UIScrollView (util)-(void)touchesBegan:(NSSet *)touches withEvent:(UI...
分类:
其他好文 时间:
2016-01-07 10:19:46
阅读次数:
135
#import "buttonCustom.h"#define KimageW 30#define KtitleH 21#define Kpadding 10@interface buttonCustom()@end@implementation buttonCustom- (instancetyp...
分类:
其他好文 时间:
2016-01-06 11:48:02
阅读次数:
133
Anatomy of a MapReduce Job
In MapReduce, a YARN application is called a Job. The implementation of the Application Master provided by the MapReduce
framework is called MRAppMaster.
Timeline ...
分类:
其他好文 时间:
2016-01-05 22:47:56
阅读次数:
292