Go to reference
Extensions for kotlin.Short
coerceAtLeast |
Same as coerceAtLeast, but accepts Attribute and returns a new Attribute. fun Short.coerceAtLeast(minimumValue: Attribute<Short>): Attribute<Short> |
coerceAtMost |
Same as coerceAtMost, but accepts Attribute and returns a new Attribute. fun Short.coerceAtMost(maximumValue: Attribute<Short>): Attribute<Short> |
coerceIn |
Same as coerceIn, but accepts Attribute and returns a new Attribute. fun Short.coerceIn(minimumValue: Attribute<Short>, maximumValue: Attribute<Short>): Attribute<Short> fun Short.coerceIn(minimumValue: Attribute<Short>, maximumValue: Short): Attribute<Short> fun Short.coerceIn(minimumValue: Short, maximumValue: Attribute<Short>): Attribute<Short> |
compareTo |
Same as compareTo, but accepts Attribute and returns a new Attribute. fun Short.compareTo(other: Attribute<Byte>): Attribute<Int> fun Short.compareTo(other: Attribute<Double>): Attribute<Int> fun Short.compareTo(other: Attribute<Float>): Attribute<Int> fun Short.compareTo(other: Attribute<Int>): Attribute<Int> fun Short.compareTo(other: Attribute<Long>): Attribute<Int> fun Short.compareTo(other: Attribute<Short>): Attribute<Int> |
div |
Same as div, but accepts Attribute and returns a new Attribute. operator fun Short.div(other: Attribute<Byte>): Attribute<Int> operator fun Short.div(other: Attribute<Double>): Attribute<Double> operator fun Short.div(other: Attribute<Float>): Attribute<Float> operator fun Short.div(other: Attribute<Int>): Attribute<Int> operator fun Short.div(other: Attribute<Long>): Attribute<Long> operator fun Short.div(other: Attribute<Short>): Attribute<Int> |
downTo |
Same as downTo, but accepts Attribute and returns a new Attribute. infix fun Short.downTo(to: Attribute<Byte>): Attribute<IntProgression> infix fun Short.downTo(to: Attribute<Int>): Attribute<IntProgression> infix fun Short.downTo(to: Attribute<Long>): Attribute<LongProgression> infix fun Short.downTo(to: Attribute<Short>): Attribute<IntProgression> |
minus |
Same as minus, but accepts Attribute and returns a new Attribute. operator fun Short.minus(other: Attribute<Byte>): Attribute<Int> operator fun Short.minus(other: Attribute<Double>): Attribute<Double> operator fun Short.minus(other: Attribute<Float>): Attribute<Float> operator fun Short.minus(other: Attribute<Int>): Attribute<Int> operator fun Short.minus(other: Attribute<Long>): Attribute<Long> operator fun Short.minus(other: Attribute<Short>): Attribute<Int> |
plus |
Same as plus, but accepts Attribute and returns a new Attribute. operator fun Short.plus(other: Attribute<Byte>): Attribute<Int> operator fun Short.plus(other: Attribute<Double>): Attribute<Double> operator fun Short.plus(other: Attribute<Float>): Attribute<Float> operator fun Short.plus(other: Attribute<Int>): Attribute<Int> operator fun Short.plus(other: Attribute<Long>): Attribute<Long> operator fun Short.plus(other: Attribute<Short>): Attribute<Int> |
rangeTo |
Same as rangeTo, but accepts Attribute and returns a new Attribute. operator fun Short.rangeTo(other: Attribute<Byte>): Attribute<IntRange> operator fun Short.rangeTo(other: Attribute<Int>): Attribute<IntRange> operator fun Short.rangeTo(other: Attribute<Long>): Attribute<LongRange> operator fun Short.rangeTo(other: Attribute<Short>): Attribute<IntRange> |
rem |
Same as rem, but accepts Attribute and returns a new Attribute. operator fun Short.rem(other: Attribute<Byte>): Attribute<Int> operator fun Short.rem(other: Attribute<Double>): Attribute<Double> operator fun Short.rem(other: Attribute<Float>): Attribute<Float> operator fun Short.rem(other: Attribute<Int>): Attribute<Int> operator fun Short.rem(other: Attribute<Long>): Attribute<Long> operator fun Short.rem(other: Attribute<Short>): Attribute<Int> |
times |
Same as times, but accepts Attribute and returns a new Attribute. operator fun Short.times(other: Attribute<Byte>): Attribute<Int> operator fun Short.times(other: Attribute<Double>): Attribute<Double> operator fun Short.times(other: Attribute<Float>): Attribute<Float> operator fun Short.times(other: Attribute<Int>): Attribute<Int> operator fun Short.times(other: Attribute<Long>): Attribute<Long> operator fun Short.times(other: Attribute<Short>): Attribute<Int> |
until |
Same as until, but accepts Attribute and returns a new Attribute. infix fun Short.until(to: Attribute<Byte>): Attribute<IntRange> infix fun Short.until(to: Attribute<Int>): Attribute<IntRange> infix fun Short.until(to: Attribute<Long>): Attribute<LongRange> infix fun Short.until(to: Attribute<Short>): Attribute<IntRange> |