2013-04-01ãã1ã¶æéã®è¨äºä¸è¦§
PartialFunctionã¯ããã¹ã¦ã®å¤ã«ã¤ãã¦å®ç¾©ããã¦ããã¨ã¯éããªãé¢æ°ã示ãã¦ããFunction1ã®ç¹æ®ãªã±ã¼ã¹ã val pf:PartialFunction[Int,String] = { case i if i>1000 => "Big" } PartialFunctionãã®ãã®ã®è©±ã¯ã¨ããããç½®ãã¨ãã¦ãScalaã£ã¦ãããªâ¦