2012-01-27から1日間の記事一覧
クラス func_mame: () => Unit class Rational(n:Int, d:Int) { private def gcd(x:Int, y:Int): Int = { if (x==0) y else if (xScala ではパラメーター無しのメソッドとして numer メソッドと denom メソッドを呼び出します。 Rational クラスは 3 つのプ…
クラス func_mame: () => Unit class Rational(n:Int, d:Int) { private def gcd(x:Int, y:Int): Int = { if (x==0) y else if (xScala ではパラメーター無しのメソッドとして numer メソッドと denom メソッドを呼び出します。 Rational クラスは 3 つのプ…