Return type | Name and parameters |
---|---|
void
|
downto(Number to, Closure closure)
Iterates from this number down to the given number, inclusive, decrementing by one each time. |
Number
|
power(Integer exponent)
Power of a BigInteger to an integer certain exponent. |
BigInteger
|
power(BigInteger exponent)
Power of a BigInteger to an BigInteger certain exponent. |
void
|
upto(Number to, Closure closure)
Iterates from this number up to the given number, inclusive, incrementing by one each time. |
abs
, and
, asBoolean
, asType
, bitwiseNegate
, compareTo
, compareTo
, div
, div
, downto
, intdiv
, intdiv
, isCase
, leftShift
, minus
, minus
, mod
, multiply
, multiply
, next
, or
, plus
, plus
, plus
, power
, previous
, rightShift
, rightShiftUnsigned
, step
, times
, toBigDecimal
, toBigInteger
, toDouble
, toFloat
, toInteger
, toLong
, unaryMinus
, unaryPlus
, upto
, xor
addShutdownHook
, any
, any
, asBoolean
, asType
, collect
, collect
, collect
, dump
, each
, eachWithIndex
, every
, every
, find
, find
, findAll
, findAll
, findIndexOf
, findIndexOf
, findIndexValues
, findIndexValues
, findLastIndexOf
, findLastIndexOf
, findResult
, findResult
, getAt
, getMetaClass
, getMetaPropertyValues
, getProperties
, grep
, grep
, hasProperty
, identity
, inject
, inject
, inspect
, invokeMethod
, is
, isCase
, iterator
, metaClass
, print
, print
, printf
, printf
, println
, println
, println
, putAt
, respondsTo
, respondsTo
, setMetaClass
, split
, sprintf
, sprintf
, toString
, use
, use
, use
, with
, withTraits
Iterates from this number down to the given number, inclusive, decrementing by one each time.
to
- the end numberclosure
- the code to execute for each numberPower of a BigInteger to an integer certain exponent. If the exponent is positive, call the BigInteger.pow(int) method to maintain precision. Called by the '**' operator.
exponent
- an Integer exponentPower of a BigInteger to an BigInteger certain exponent. Called by the '**' operator.
exponent
- an BigInteger exponent