码迷,mamicode.com
首页 >  
搜索关键字:groups @interface    ( 15105个结果
理解WSDL,IDL
很多RPC技术都会使用中间语言来定义接口描述,比如Web Service常用的WSDL, Thrift使用的IDL。 这类文件都是接口定义/描述语言 (Interface Definition/Description Language),有几个特点: 1. 采用中间语言来描述接口,以及接口使用到的数据结构(类) 2. 一般都采用文本文件,方便传递 3. 语法上可以使用XML,也可以...
分类:其他好文   时间:2014-09-17 12:15:02    阅读次数:278
iOS_38_手势
Pan平移手势 最终效果图: // // PanController.m // 38_手势 // // Created by beyond on 14-9-16. // Copyright (c) 2014年 com.beyond. All rights reserved. // #import "PanController.h" @interface PanC...
分类:移动开发   时间:2014-09-17 12:12:22    阅读次数:320
如何为Android,Mac和Windows平台创建Java JNI动态链接库
Java Native Interface (JNI) 是Java和C/C++之间的桥梁。在一些情况下,为了提高Java程序的性能,扩展Java程序的功能,我们需要使用JNI。比如数据库的调用,当我们下载一个JDBC的jar包之后,解压可以看到里面包含...
分类:移动开发   时间:2014-09-17 10:30:12    阅读次数:298
设计模式之Iterator
迭代器设计模式广泛用于集合中的遍历 这里主要用到了内部类 以下是简化的的一个迭代器的设计模式 1.Iterator接口 public interface Iterator { boolean hasNext(); E next(); } 2.内部类 public class Outer { private Object[] item; private int size ...
分类:其他好文   时间:2014-09-16 22:09:01    阅读次数:217
CXF 实现 webservice 并且部署在web项目中 tomcat作为容器
在tomcat作为容器发布webservice服务前,我们先来看一个简单的不通过容器即可发布服务的例子 package com.tree.webservice; import javax.jws.WebService; @WebService public interface HelloWorld { public String sayHello(String content); }...
分类:Web程序   时间:2014-09-16 16:03:30    阅读次数:786
Cobbler自动部署主机系统-扩展
指定服务器的装机配置指定服务器就是绑定它的mac地址,并设置好ip、dns、hostname定义系统[root@master~]#cobblersystemadd--name=Test_Mail_1--hostname=Test_Mail_o--mac=00:19:B9:E5:34:FE--interface=eth0--ip-address=192.168.10.222--subnet=255.255.255.0--gateway=192...
分类:其他好文   时间:2014-09-16 12:50:01    阅读次数:350
接口的显式实现与隐式实现
我们在实现接口时,常常是类继承接口,然后在接口中实现相应的方法。代码如下: interface IOutput { void output(); } class SimpleOutput : IOutput { public void output() { Console.WriteLin...
分类:其他好文   时间:2014-09-16 09:17:50    阅读次数:142
xib和StoryBoard间的博弈,以及Interface Builder的一些小技巧
最近接触了几个刚入门的iOS学习者,他们之中存在一个普遍和困惑和疑问,就是应该如何制作UI界面。iOS应用是非常重视用户体验的,可以说绝大多数的应用成功与否与交互设计以及UI是否漂亮易用有着非常大的关系。而随着iOS开发发展至今,可以说在UI制作上大家逐渐分化为了三种主要流派:使用代码手写UI及布局...
分类:其他好文   时间:2014-09-16 08:06:40    阅读次数:287
快速上手backtrack 5
一,1.网络配置基本命令(1)查看本地网卡:ifconfig-aif(interface)-a(all)(2)激活网卡:ifconfigeth0up/down启用或者禁用网卡(3)DHCP网络自动获取IP:dhclienteth0(4)手动设置IP:ifconfigeth0IPnetmask子网掩码动态主机分配协议,必须启用DHCP才可以(5)设置网关:routeadddefau..
分类:其他好文   时间:2014-09-16 02:51:20    阅读次数:195
数据持久化,简单对象写入本地,复杂对象写入本地
#import"MainViewController.h" #import"Student.h" @interfaceMainViewController() @end @implementationMainViewController -(id)initWithNibName:(NSString*)nibNameOrNilbundle:(NSBundle*)nibBundleOrNil { self=[superinitWithNibName:nibNameOrNilbundle:nibBundleOrN..
分类:其他好文   时间:2014-09-16 02:50:00    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!