码迷,mamicode.com
首页 >  
搜索关键字:super fingerprint    ( 6784个结果
java中用数组模拟的酒店管理系统
//房间类 publicclassRoom{ privateStringno;//房间号 privateStringtype;//房间类型 privatebooleanisuse;//房间是否占用 @Override publicStringtoString(){ return"Room[no="+no+",type="+type+",isuse="+(isuse?"占用":"空闲")+"]"; } publicRoom(Stringno,String..
分类:编程语言   时间:2015-07-02 01:12:30    阅读次数:169
解决edittext输入多行可以滑动的问题
解决edittext输入多行可以滑动的问题Java代码: public class ScrollEditLayout extends ScrollView { public ScrollEditLayout(Context context) { super(context); } ...
分类:其他好文   时间:2015-07-01 13:43:36    阅读次数:141
android 单行gridview横向滑动的实现
android 单行gridview横向滑动的实现首先重写下GridView HorizontalGridView.javapublic class HorizontalGridView extends GridView { public HorizontalGridView(Context context, AttributeSet attrs) { super(cont...
分类:移动开发   时间:2015-07-01 12:27:39    阅读次数:151
小知识
cell 设置高亮颜色_backView 是frame为 Cell的bounds 的Cell上的子视图- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated { [super setHighlighted:highlight....
分类:其他好文   时间:2015-07-01 11:50:21    阅读次数:113
IOS上如何画出1像素的线
#define SINGLE_LINE_WIDTH (1/[UIScreen mainScreen].scale) #define SINGLE_LINE_ADJUST_OFFSET ((1/[UIScreen mainScreen].scale)/2) - (void)viewDidLoad {     [super viewDidLoad];   ...
分类:移动开发   时间:2015-07-01 10:05:36    阅读次数:131
Regular Ball Super Ball
Description:Regular Ball Super BallCreate a class Ball.Ball objects should accept one argument for "ball type" when instantiated.If no arguments are g...
分类:其他好文   时间:2015-06-30 20:21:38    阅读次数:128
KVO(1)
#import "ViewController.h"@interface ViewController () @property(nonatomic, strong)UIButton *button; @end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; self.button = [...
分类:其他好文   时间:2015-06-30 15:01:15    阅读次数:104
转载iOS--->RunLoop
说来,我忘东西还真是飞快。前一个月自认为把RunLoop研究得比较透彻了,但因为没有在项目中实际使用的缘故,到现在竟然都快忘了,我必须得把它记录下来,以后忘记了我还可以在这里找回来再看看。下面是测试代码:- (void)viewDidLoad{ [super viewDidLoad]; ...
分类:移动开发   时间:2015-06-30 12:16:16    阅读次数:151
mysql备份单实例(一)shell
一、脚本说明 1、需要备份2个库(mysqltest1mysqltest) 2、开启4个进程 3、可以选择进行备份不压缩和备份压缩 4、可以对不需要的数据库剔除 5、backup用户在数据库里的权限 grantselect,reload,super,locktables,createview,showviewon*.*to‘backup‘@‘localhost‘identifiedby‘ba..
分类:数据库   时间:2015-06-30 06:42:25    阅读次数:176
关于Python的super用法
Python中对象方法的定义很怪异,第一个参数一般都命名为self(相当于其它语言的this),用于传递对象本身,而在调用的时候则不必显式传递,系统会自动传递。举一个很常见的例子:>>> class Foo:def bar(self, message):print(message)>>> Foo()...
分类:编程语言   时间:2015-06-29 23:50:23    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!