码迷,mamicode.com
首页 >  
搜索关键字:groups @interface    ( 15105个结果
解决克隆 centos虚拟机后修改克隆后的机器的ip、mac、uuid失败的问题
解决办法:So here’s how we fix it:Remove the kernel’s networking interface rules file so that it can be regenerated# rm -f /etc/udev/rules.d/70-persistent-...
分类:其他好文   时间:2014-07-12 09:11:25    阅读次数:473
java annotation 获取属性
自定义Annotation1.声明一个annotation,类型是@interface//声明注解@Target(ElementType.FIELD)@Retention(RetentionPolicy.RUNTIME)@Documentedpublic @interface ValueBind {...
分类:编程语言   时间:2014-07-11 11:27:04    阅读次数:202
蓝牙4.0核心文档阅读笔记
一、蓝牙技术介绍 蓝牙无线通讯包括两种模式:基础模式(BR, Basic Rate)和低功耗模式(LE, Low Energy)。 蓝牙系统包括一个Host和多个Controllers,Host包括在HCI(Host Controller Interface)与应用程序之间,Controll...
分类:其他好文   时间:2014-07-11 11:14:11    阅读次数:210
适配器模式
适配器模式的定义:将一个类的接口变成另一个客户端所期待的的接口,从而使原本因接口不匹配而无法在一起工作的两个类都能在一起工作。 1:目标角色:把其他类转成何种接口,也就是我们期望的接口。package adapter; public interface Target { //目标角色有自己的方法 public void request(); } package adapter; pu...
分类:其他好文   时间:2014-07-11 08:40:34    阅读次数:223
Objective-C中的Category(分类)
Objective-C中的Category(分类) 1 Category概念:动态的为已经存在的类添加新的行为(方法) 2 Category(分类)创建的方法 (1)通过Xcode生成分类 (2)可以手动生成分类,在头文件里面生成2个@interface 例如: 在Student.h文件中 @interface Student:NSObject -(void...
分类:其他好文   时间:2014-07-11 00:56:24    阅读次数:200
Java设计模式之认识阶段
设计模式是什么? 设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。 其本质就是继承与接口的组合应用。 为什么要用设计模? 使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性、提高工作效率。 设计模式的分类: 设计模式按目的可分为三种类型,共23种。 创建型模式:单例模式、...
分类:编程语言   时间:2014-07-11 00:45:52    阅读次数:194
思科命令配置小技巧二:macro命令
在思科命令配置小技巧一中,我们谈到,使用range命令可以简化我们的配置但是如果我们经常对一组不连续的端口进行操作比如interface-rangefa1/1,fa1/3,fa1/5,fa1/7,fa1/11即使使用range命令也会显得很繁琐我们总想越简单越好(命令敲再多,工资还是那个数,要是按命令字数算工资..
分类:其他好文   时间:2014-07-10 19:20:25    阅读次数:240
PatentTips - Method and system for browsing things of internet of things on ip using web platform
BACKGROUNDThe following disclosure relates to a method and system for enabling a user to browse physical things using a rich user interface (UI) via a...
分类:Web程序   时间:2014-07-10 16:44:57    阅读次数:263
解读keystone命令行工具(1)(更新中)
本文档介绍icehouse发行版keystone命令keystone客户端命令行提供用于和keystone服务器交互的方便工具,但是该命令行工具逐渐受到社区的摒弃: “Pending deprecation: Command-line interface to the OpenStack Iden....
分类:其他好文   时间:2014-07-10 16:16:46    阅读次数:406
用ios代码做view
import“ViewController.h"@interface ViewController()@end@implementation ViewController-(void)viewDidload{[super viewDidload];UIView *redview=[[UIView a...
分类:移动开发   时间:2014-07-10 15:48:47    阅读次数:263
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!