<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>没有比人更高的山 &#187; Scala</title>
	<atom:link href="http://www.zhlwish.com/tag/scala/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zhlwish.com</link>
	<description>Where there is a will there is a way.</description>
	<lastBuildDate>Fri, 13 Jan 2012 08:13:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>scala要点(1)</title>
		<link>http://www.zhlwish.com/2009/11/15/scala-outline/</link>
		<comments>http://www.zhlwish.com/2009/11/15/scala-outline/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 01:42:38 +0000</pubDate>
		<dc:creator>周亮</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Scala]]></category>

		<guid isPermaLink="false">http://www.zhlwish.com/?p=69</guid>
		<description><![CDATA[注：本文是本人在了解scala过程中的一些要点笔记而已，仅帮助学过的朋友进行一下回忆，也供本人以后快速复习用。 scala有两种变量类型，val与var，val型变量初始化了就不能再改变，var则可以改变 scala可以自动推断变量类型，如val name = “zhlwish”  scala定义函数: def add(x: Int, y: Int): Int = if (x &#62; y) x else y   for语句写法： for(arg &#60;- args) println(arg)   foreach是List类型的一个函数，调用方法args.foreach((arg: String) =&#62; println(arg))，看起来是lamda表达式   数组只能如下定义： val names = new Array(3) //默认构造器构造 val &#8230; <a href="http://www.zhlwish.com/2009/11/15/scala-outline/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.zhlwish.com/2009/11/15/scala-outline/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

