码迷,mamicode.com
首页 >  
搜索关键字:void    ( 62627个结果
java按值传递理解
Java没有引用传递只有按值传递,没有引用传递只有按值传递,值传递。通过下面代码解释: 1 public class Test { 2 public static void main(String[] args ){ 3 int var = 1 ; 4 ...
分类:编程语言   时间:2015-11-14 13:48:31    阅读次数:275
自定义TabBar
第一种:继承于UITabBarController的自定义- (void)viewDidLoad{ [super viewDidLoad]; [self creatViewController]; self.tabBar.hidden =YES;//隐藏系统Tabbar//方法一种的以下控件不建议用...
分类:其他好文   时间:2015-11-14 12:21:42    阅读次数:216
【学习】一个数组到另一个数组迁移
package com.lhzh.cp07; public class ShuZuDEL0 { public static void main(String[] args) { int oldArr[]={1,3,4,5,0,0,6,6,0,5,4,7,6,7,0,5}; int n[]=new i...
分类:编程语言   时间:2015-11-14 09:56:36    阅读次数:271
WPF 最大化最小化窗口
public static void FullOrMin(this Window window) { //如果是全屏,则最小化 if (window.WindowState == WindowState.Maximized) { window.Topmost = false; window.Wind...
分类:Windows程序   时间:2015-11-14 08:44:36    阅读次数:312
label 设置行间距 字间距
#import "MyLabel.h"#import @implementation MyLabel+(void)setLabel:(UILabel *)custonLabel andContenStr:(NSString *)content andlineSpace:(CGFloat)lineSp...
分类:其他好文   时间:2015-11-14 06:28:37    阅读次数:416
正则表达式 匹配邮箱
public void Regular_Expression() { WebClient wc = new WebClient(); // wc.Encoding = Encoding.Default; string ...
分类:其他好文   时间:2015-11-14 01:03:27    阅读次数:308
第一个java程序
体验Java编程过程 体验Java编程过程程序清单:Test.javaclass Test { public static void main(String [] args) { Syst...
分类:编程语言   时间:2015-11-13 23:38:27    阅读次数:318
JAVA 多态和异常处理作业——动手动脑以及课后实验性问题
1、 阅读以下代码(CatchWho.java),写出程序运行结果:1) 源代码public class CatchWho{ public static void main(String[] args) { try { try { throw new ArrayIndexOutOfBoundsExc...
分类:编程语言   时间:2015-11-13 23:30:12    阅读次数:331
本地获取相册路径
/************打开相册*********/private int ABLUM = 1313;public void OpenAblum(){ Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType(".....
分类:其他好文   时间:2015-11-13 22:08:55    阅读次数:373
安卓TCP通信
tCPServer.java服务器的两个socket都没有关闭:s,ss.两个都是一直开启,然后数据才有显示 class tcpServer{ public static void main(String[] args) throws IOException{ //建立服务端s...
分类:移动开发   时间:2015-11-13 22:05:58    阅读次数:359
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!