Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / kotlin.Byte
Go to reference

Extensions for kotlin.Byte

coerceAtLeast

Same as coerceAtLeast, but accepts Attribute and returns a new Attribute.

fun Byte.coerceAtLeast(minimumValue: Attribute<Byte>): Attribute<Byte>

coerceAtMost

Same as coerceAtMost, but accepts Attribute and returns a new Attribute.

fun Byte.coerceAtMost(maximumValue: Attribute<Byte>): Attribute<Byte>

coerceIn

Same as coerceIn, but accepts Attribute and returns a new Attribute.

fun Byte.coerceIn(minimumValue: Attribute<Byte>, maximumValue: Attribute<Byte>): Attribute<Byte>
fun Byte.coerceIn(minimumValue: Attribute<Byte>, maximumValue: Byte): Attribute<Byte>
fun Byte.coerceIn(minimumValue: Byte, maximumValue: Attribute<Byte>): Attribute<Byte>

compareTo

Same as compareTo, but accepts Attribute and returns a new Attribute.

fun Byte.compareTo(other: Attribute<Double>): Attribute<Int>
fun Byte.compareTo(other: Attribute<Float>): Attribute<Int>
fun Byte.compareTo(other: Attribute<Int>): Attribute<Int>
fun Byte.compareTo(other: Attribute<Long>): Attribute<Int>
fun Byte.compareTo(other: Attribute<Short>): Attribute<Int>
fun Byte.compareTo(other: Attribute<Byte>): Attribute<Int>

div

Same as div, but accepts Attribute and returns a new Attribute.

operator fun Byte.div(other: Attribute<Double>): Attribute<Double>
operator fun Byte.div(other: Attribute<Float>): Attribute<Float>
operator fun Byte.div(other: Attribute<Int>): Attribute<Int>
operator fun Byte.div(other: Attribute<Long>): Attribute<Long>
operator fun Byte.div(other: Attribute<Short>): Attribute<Int>
operator fun Byte.div(other: Attribute<Byte>): Attribute<Int>

downTo

Same as downTo, but accepts Attribute and returns a new Attribute.

infix fun Byte.downTo(to: Attribute<Int>): Attribute<IntProgression>
infix fun Byte.downTo(to: Attribute<Long>): Attribute<LongProgression>
infix fun Byte.downTo(to: Attribute<Short>): Attribute<IntProgression>
infix fun Byte.downTo(to: Attribute<Byte>): Attribute<IntProgression>

minus

Same as minus, but accepts Attribute and returns a new Attribute.

operator fun Byte.minus(other: Attribute<Double>): Attribute<Double>
operator fun Byte.minus(other: Attribute<Float>): Attribute<Float>
operator fun Byte.minus(other: Attribute<Int>): Attribute<Int>
operator fun Byte.minus(other: Attribute<Long>): Attribute<Long>
operator fun Byte.minus(other: Attribute<Short>): Attribute<Int>
operator fun Byte.minus(other: Attribute<Byte>): Attribute<Int>

plus

Same as plus, but accepts Attribute and returns a new Attribute.

operator fun Byte.plus(other: Attribute<Double>): Attribute<Double>
operator fun Byte.plus(other: Attribute<Float>): Attribute<Float>
operator fun Byte.plus(other: Attribute<Int>): Attribute<Int>
operator fun Byte.plus(other: Attribute<Long>): Attribute<Long>
operator fun Byte.plus(other: Attribute<Short>): Attribute<Int>
operator fun Byte.plus(other: Attribute<Byte>): Attribute<Int>

rangeTo

Same as rangeTo, but accepts Attribute and returns a new Attribute.

operator fun Byte.rangeTo(other: Attribute<Int>): Attribute<IntRange>
operator fun Byte.rangeTo(other: Attribute<Long>): Attribute<LongRange>
operator fun Byte.rangeTo(other: Attribute<Short>): Attribute<IntRange>
operator fun Byte.rangeTo(other: Attribute<Byte>): Attribute<IntRange>

rem

Same as rem, but accepts Attribute and returns a new Attribute.

operator fun Byte.rem(other: Attribute<Double>): Attribute<Double>
operator fun Byte.rem(other: Attribute<Float>): Attribute<Float>
operator fun Byte.rem(other: Attribute<Int>): Attribute<Int>
operator fun Byte.rem(other: Attribute<Long>): Attribute<Long>
operator fun Byte.rem(other: Attribute<Short>): Attribute<Int>
operator fun Byte.rem(other: Attribute<Byte>): Attribute<Int>

times

Same as times, but accepts Attribute and returns a new Attribute.

operator fun Byte.times(other: Attribute<Double>): Attribute<Double>
operator fun Byte.times(other: Attribute<Float>): Attribute<Float>
operator fun Byte.times(other: Attribute<Int>): Attribute<Int>
operator fun Byte.times(other: Attribute<Long>): Attribute<Long>
operator fun Byte.times(other: Attribute<Short>): Attribute<Int>
operator fun Byte.times(other: Attribute<Byte>): Attribute<Int>

until

Same as until, but accepts Attribute and returns a new Attribute.

infix fun Byte.until(to: Attribute<Int>): Attribute<IntRange>
infix fun Byte.until(to: Attribute<Long>): Attribute<LongRange>
infix fun Byte.until(to: Attribute<Short>): Attribute<IntRange>
infix fun Byte.until(to: Attribute<Byte>): Attribute<IntRange>