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

Extensions for kotlin.Byte

coerceAtLeast

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

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

coerceAtMost

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

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

coerceIn

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

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

compareTo

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

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

div

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

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

downTo

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

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

minus

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

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

plus

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

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

rangeTo

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

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

rem

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

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

times

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

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

until

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

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