Documentation / dataflow / com.femastudios.dataflow.extensions / compareTo
Go to reference

compareTo

@JvmName("compareToDouble") fun Field<Byte>.compareTo(other: Field<Double>): Field<Int>
@JvmName("compareToFloat") fun Field<Byte>.compareTo(other: Field<Float>): Field<Int>
@JvmName("compareToInt") fun Field<Byte>.compareTo(other: Field<Int>): Field<Int>
@JvmName("compareToLong") fun Field<Byte>.compareTo(other: Field<Long>): Field<Int>
@JvmName("compareToShort") fun Field<Byte>.compareTo(other: Field<Short>): Field<Int>
fun Field<Byte>.compareTo(other: Field<Byte>): Field<Int>
fun Field<Byte>.compareTo(other: Byte): Field<Int>
fun Field<Byte>.compareTo(other: Double): Field<Int>
fun Field<Byte>.compareTo(other: Float): Field<Int>
fun Field<Byte>.compareTo(other: Int): Field<Int>
fun Field<Byte>.compareTo(other: Long): Field<Int>
fun Field<Byte>.compareTo(other: Short): Field<Int>

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

Calling this function is equivalent to use transform and calling compareTo in the transformation function.

This is simply a convenience function.

See Also

kotlin.Byte.compareTo


fun <T> Field<Comparable<T>>.compareTo(other: T): Field<Int>
fun <T> Field<Comparable<T>>.compareTo(other: Field<T>): Field<Int>

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

Calling this function is equivalent to use transform and calling compareTo in the transformation function.

This is simply a convenience function.

See Also

kotlin.Comparable.compareTo


@JvmName("compareToByte") fun Field<Double>.compareTo(other: Field<Byte>): Field<Int>
@JvmName("compareToFloat") fun Field<Double>.compareTo(other: Field<Float>): Field<Int>
@JvmName("compareToInt") fun Field<Double>.compareTo(other: Field<Int>): Field<Int>
@JvmName("compareToLong") fun Field<Double>.compareTo(other: Field<Long>): Field<Int>
@JvmName("compareToShort") fun Field<Double>.compareTo(other: Field<Short>): Field<Int>
fun Field<Double>.compareTo(other: Field<Double>): Field<Int>
fun Field<Double>.compareTo(other: Byte): Field<Int>
fun Field<Double>.compareTo(other: Double): Field<Int>
fun Field<Double>.compareTo(other: Float): Field<Int>
fun Field<Double>.compareTo(other: Int): Field<Int>
fun Field<Double>.compareTo(other: Long): Field<Int>
fun Field<Double>.compareTo(other: Short): Field<Int>

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

Calling this function is equivalent to use transform and calling compareTo in the transformation function.

This is simply a convenience function.

See Also

kotlin.Double.compareTo


@JvmName("compareToByte") fun Field<Float>.compareTo(other: Field<Byte>): Field<Int>
@JvmName("compareToDouble") fun Field<Float>.compareTo(other: Field<Double>): Field<Int>
@JvmName("compareToInt") fun Field<Float>.compareTo(other: Field<Int>): Field<Int>
@JvmName("compareToLong") fun Field<Float>.compareTo(other: Field<Long>): Field<Int>
@JvmName("compareToShort") fun Field<Float>.compareTo(other: Field<Short>): Field<Int>
fun Field<Float>.compareTo(other: Field<Float>): Field<Int>
fun Field<Float>.compareTo(other: Byte): Field<Int>
fun Field<Float>.compareTo(other: Double): Field<Int>
fun Field<Float>.compareTo(other: Float): Field<Int>
fun Field<Float>.compareTo(other: Int): Field<Int>
fun Field<Float>.compareTo(other: Long): Field<Int>
fun Field<Float>.compareTo(other: Short): Field<Int>

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

Calling this function is equivalent to use transform and calling compareTo in the transformation function.

This is simply a convenience function.

See Also

kotlin.Float.compareTo


@JvmName("compareToByte") fun Field<Int>.compareTo(other: Field<Byte>): Field<Int>
@JvmName("compareToDouble") fun Field<Int>.compareTo(other: Field<Double>): Field<Int>
@JvmName("compareToFloat") fun Field<Int>.compareTo(other: Field<Float>): Field<Int>
@JvmName("compareToLong") fun Field<Int>.compareTo(other: Field<Long>): Field<Int>
@JvmName("compareToShort") fun Field<Int>.compareTo(other: Field<Short>): Field<Int>
fun Field<Int>.compareTo(other: Field<Int>): Field<Int>
fun Field<Int>.compareTo(other: Byte): Field<Int>
fun Field<Int>.compareTo(other: Double): Field<Int>
fun Field<Int>.compareTo(other: Float): Field<Int>
fun Field<Int>.compareTo(other: Int): Field<Int>
fun Field<Int>.compareTo(other: Long): Field<Int>
fun Field<Int>.compareTo(other: Short): Field<Int>

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

Calling this function is equivalent to use transform and calling compareTo in the transformation function.

This is simply a convenience function.

See Also

kotlin.Int.compareTo


@JvmName("compareToByte") fun Field<Long>.compareTo(other: Field<Byte>): Field<Int>
@JvmName("compareToDouble") fun Field<Long>.compareTo(other: Field<Double>): Field<Int>
@JvmName("compareToFloat") fun Field<Long>.compareTo(other: Field<Float>): Field<Int>
@JvmName("compareToInt") fun Field<Long>.compareTo(other: Field<Int>): Field<Int>
@JvmName("compareToShort") fun Field<Long>.compareTo(other: Field<Short>): Field<Int>
fun Field<Long>.compareTo(other: Field<Long>): Field<Int>
fun Field<Long>.compareTo(other: Byte): Field<Int>
fun Field<Long>.compareTo(other: Double): Field<Int>
fun Field<Long>.compareTo(other: Float): Field<Int>
fun Field<Long>.compareTo(other: Int): Field<Int>
fun Field<Long>.compareTo(other: Long): Field<Int>
fun Field<Long>.compareTo(other: Short): Field<Int>

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

Calling this function is equivalent to use transform and calling compareTo in the transformation function.

This is simply a convenience function.

See Also

kotlin.Long.compareTo


@JvmName("compareToByte") fun Field<Short>.compareTo(other: Field<Byte>): Field<Int>
@JvmName("compareToDouble") fun Field<Short>.compareTo(other: Field<Double>): Field<Int>
@JvmName("compareToFloat") fun Field<Short>.compareTo(other: Field<Float>): Field<Int>
@JvmName("compareToInt") fun Field<Short>.compareTo(other: Field<Int>): Field<Int>
@JvmName("compareToLong") fun Field<Short>.compareTo(other: Field<Long>): Field<Int>
fun Field<Short>.compareTo(other: Field<Short>): Field<Int>
fun Field<Short>.compareTo(other: Byte): Field<Int>
fun Field<Short>.compareTo(other: Double): Field<Int>
fun Field<Short>.compareTo(other: Float): Field<Int>
fun Field<Short>.compareTo(other: Int): Field<Int>
fun Field<Short>.compareTo(other: Long): Field<Int>
fun Field<Short>.compareTo(other: Short): Field<Int>

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

Calling this function is equivalent to use transform and calling compareTo in the transformation function.

This is simply a convenience function.

See Also

kotlin.Short.compareTo