この範囲の低い値を取得します。
Comparable getFrom()
None
範囲の低い値。
以下は、このメソッドの使用例です-
class Example { static void main(String[] args) { //Example of an Integer using def def rint = 1..10; println(rint.getFrom()); } }
上記のプログラムを実行すると、次の結果が得られます-
1