Constants and functions supporting the Integer type defined in ceylon.language.

See also Integer
Functions
largestSource Codeshared Integer largest(Integer x, Integer y)

The larger of the two arguments.

See also smallest()
maxSource Codeshared Integer|Absent max<Absent>(Iterable<Integer,Absent> values)
given Absent satisfies Null

The largest Integer in the given stream, or null if the stream is empty.

minSource Codeshared Integer|Absent min<Absent>(Iterable<Integer,Absent> values)
given Absent satisfies Null

The smallest Integer in the given stream, or null if the stream is empty.

productSource Codeshared Integer product({Integer*} values)

The product of the Integers in the given stream, or 1 if the stream is empty.

smallestSource Codeshared Integer smallest(Integer x, Integer y)

The smaller of the two arguments.

See also largest()
sumSource Codeshared Integer sum({Integer*} values)

The sum of the Integers in the given stream, or 0 if the stream is empty.