The maximum between self and other (prefers self if equals).

Property definitions

core $ Comparable :: max
	# The maximum between `self` and `other` (prefers `self` if equals).
	fun max(other: OTHER): OTHER
	do
		if self < other then
			return other
		else
			return self
		end
	end
lib/core/kernel.nit:352,2--360,4

core $ UInt32 :: max
	redef fun max(other)
	do
		if self < other then
			return other
		else
			return self
		end
	end
lib/core/fixed_ints.nit:667,2--674,4

core $ Int8 :: max
	redef fun max(other)
	do
		if self < other then
			return other
		else
			return self
		end
	end
lib/core/fixed_ints.nit:183,2--190,4

core $ Int16 :: max
	redef fun max(other)
	do
		if self < other then
			return other
		else
			return self
		end
	end
lib/core/fixed_ints.nit:304,2--311,4

core $ UInt16 :: max
	redef fun max(other)
	do
		if self < other then
			return other
		else
			return self
		end
	end
lib/core/fixed_ints.nit:425,2--432,4

core $ Int32 :: max
	redef fun max(other)
	do
		if self < other then
			return other
		else
			return self
		end
	end
lib/core/fixed_ints.nit:546,2--553,4

core $ Byte :: max
	redef fun max(other)
	do
		if self < other then
			return other
		else
			return self
		end
	end
lib/core/kernel.nit:680,2--687,4

core $ Float :: max
	redef fun max(other)
	do
		if self < other then
			return other
		else
			return self
		end
	end
lib/core/kernel.nit:582,2--589,4

core $ Int :: max
	redef fun max(other)
	do
		if self < other then
			return other
		else
			return self
		end
	end
lib/core/kernel.nit:785,2--792,4