• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






blogs_zixin

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 下一页

2014年6月16日

swift 构造过程
摘要: 在同一个结构体中,定义不同的构造函数,如果传值类型相同,但是外部名称不一样,可以当做不同的构造函数,这就java的区别很大,例子如下:struct Celsius { var temperatureIC: Double = 0.0 init(fF fahrenheit: Double){ ... 阅读全文
posted @ 2014-06-16 17:27 blogs_zixin 阅读(151) 评论(0) 推荐(0)
 
swift 继承相关
摘要: class Vehicle { var numberOfWheels: Int var maxPassengers: Int func description() -> String { return "\(numberOfWheels) wheels; up to \(maxPass... 阅读全文
posted @ 2014-06-16 11:40 blogs_zixin 阅读(112) 评论(0) 推荐(0)
 

2014年6月13日

swift 方法功能
摘要: 一、修改方法的外部参数名称,例子如下class Counter { var count = 0; func increment() { count++; } func incrementBy(amount:Int, numOfTimes:Int){ count += amount... 阅读全文
posted @ 2014-06-13 18:19 blogs_zixin 阅读(222) 评论(0) 推荐(0)
 

2014年6月10日

javascript闭包
摘要: 学习Javascript闭包(Closure)http://www.ruanyifeng.com/blog/2009/08/learning_javascript_closures.html闭包(closure)是Javascript语言的一个难点,也是它的特色,很多高级应用都要依靠闭包实现。下面就... 阅读全文
posted @ 2014-06-10 15:34 blogs_zixin 阅读(106) 评论(0) 推荐(0)
 
IOS swift学习地址
摘要: https://github.com/numbbbbb/the-swift-programming-language-in-chinesehttp://www.oschina.net/question/1776305_157489 阅读全文
posted @ 2014-06-10 15:32 blogs_zixin 阅读(188) 评论(0) 推荐(0)
 

2014年4月17日

guava 工具包
摘要: Guava 是一个 Google 的基于java1.6的类库集合的扩展项目,包括 collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, ... 阅读全文
posted @ 2014-04-17 14:08 blogs_zixin 阅读(597) 评论(0) 推荐(0)
 

2014年1月10日

数字和大写字母字符串
摘要: private static final String[] NUMS = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "0"}; private static final String[] UPPERS = {"A", "B", "C", "D", "E&quo 阅读全文
posted @ 2014-01-10 13:33 blogs_zixin 阅读(429) 评论(0) 推荐(0)
 

2014年1月8日

Guava Collections
摘要: Guava Collections 阅读全文
posted @ 2014-01-08 16:42 blogs_zixin 阅读(367) 评论(0) 推荐(0)
 

2013年12月20日

mysql字符串相关函数
摘要: ASCII(str)返回字符串str的最左面字符的ASCII代码值。如果str是空字符串,返回0。如果str是NULL,返回NULL。mysql> select ASCII('2'); -> 50mysql> select ASCII(2); -> 50mysql> select ASCII('dx'); -> 100也可参见ORD()函数。ORD(str)如果字符串str最左面字符是一个多字节字符,通过以格式((first byte ASCII code)*256+(second byte ASCII code))[*256 阅读全文
posted @ 2013-12-20 11:02 blogs_zixin 阅读(286) 评论(0) 推荐(0)
 

2013年12月6日

DateUtil
摘要: package com.meiliwan.emall.commons.util;import java.io.PrintStream;import java.sql.Timestamp;import java.text.DateFormat;import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.Calendar;import java.util.Date;import java.util.concurrent.TimeUnit;public class DateUtil{ publ. 阅读全文
posted @ 2013-12-06 15:35 blogs_zixin 阅读(213) 评论(0) 推荐(0)
 
上一页 1 2 3 4 下一页