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

compareTo

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

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

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> Attribute<Comparable<T>>.compareTo(other: T): Attribute<Int>
fun <T> Attribute<Comparable<T>>.compareTo(other: Attribute<T>): Attribute<Int>

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

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 Attribute<Double>.compareTo(other: Attribute<Byte>): Attribute<Int>
@JvmName("compareToFloat") fun Attribute<Double>.compareTo(other: Attribute<Float>): Attribute<Int>
@JvmName("compareToInt") fun Attribute<Double>.compareTo(other: Attribute<Int>): Attribute<Int>
@JvmName("compareToLong") fun Attribute<Double>.compareTo(other: Attribute<Long>): Attribute<Int>
@JvmName("compareToShort") fun Attribute<Double>.compareTo(other: Attribute<Short>): Attribute<Int>
fun Attribute<Double>.compareTo(other: Attribute<Double>): Attribute<Int>
fun Attribute<Double>.compareTo(other: Byte): Attribute<Int>
fun Attribute<Double>.compareTo(other: Double): Attribute<Int>
fun Attribute<Double>.compareTo(other: Float): Attribute<Int>
fun Attribute<Double>.compareTo(other: Int): Attribute<Int>
fun Attribute<Double>.compareTo(other: Long): Attribute<Int>
fun Attribute<Double>.compareTo(other: Short): Attribute<Int>

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

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 Attribute<Float>.compareTo(other: Attribute<Byte>): Attribute<Int>
@JvmName("compareToDouble") fun Attribute<Float>.compareTo(other: Attribute<Double>): Attribute<Int>
@JvmName("compareToInt") fun Attribute<Float>.compareTo(other: Attribute<Int>): Attribute<Int>
@JvmName("compareToLong") fun Attribute<Float>.compareTo(other: Attribute<Long>): Attribute<Int>
@JvmName("compareToShort") fun Attribute<Float>.compareTo(other: Attribute<Short>): Attribute<Int>
fun Attribute<Float>.compareTo(other: Attribute<Float>): Attribute<Int>
fun Attribute<Float>.compareTo(other: Byte): Attribute<Int>
fun Attribute<Float>.compareTo(other: Double): Attribute<Int>
fun Attribute<Float>.compareTo(other: Float): Attribute<Int>
fun Attribute<Float>.compareTo(other: Int): Attribute<Int>
fun Attribute<Float>.compareTo(other: Long): Attribute<Int>
fun Attribute<Float>.compareTo(other: Short): Attribute<Int>

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

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 Attribute<Int>.compareTo(other: Attribute<Byte>): Attribute<Int>
@JvmName("compareToDouble") fun Attribute<Int>.compareTo(other: Attribute<Double>): Attribute<Int>
@JvmName("compareToFloat") fun Attribute<Int>.compareTo(other: Attribute<Float>): Attribute<Int>
@JvmName("compareToLong") fun Attribute<Int>.compareTo(other: Attribute<Long>): Attribute<Int>
@JvmName("compareToShort") fun Attribute<Int>.compareTo(other: Attribute<Short>): Attribute<Int>
fun Attribute<Int>.compareTo(other: Attribute<Int>): Attribute<Int>
fun Attribute<Int>.compareTo(other: Byte): Attribute<Int>
fun Attribute<Int>.compareTo(other: Double): Attribute<Int>
fun Attribute<Int>.compareTo(other: Float): Attribute<Int>
fun Attribute<Int>.compareTo(other: Int): Attribute<Int>
fun Attribute<Int>.compareTo(other: Long): Attribute<Int>
fun Attribute<Int>.compareTo(other: Short): Attribute<Int>

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

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 Attribute<Long>.compareTo(other: Attribute<Byte>): Attribute<Int>
@JvmName("compareToDouble") fun Attribute<Long>.compareTo(other: Attribute<Double>): Attribute<Int>
@JvmName("compareToFloat") fun Attribute<Long>.compareTo(other: Attribute<Float>): Attribute<Int>
@JvmName("compareToInt") fun Attribute<Long>.compareTo(other: Attribute<Int>): Attribute<Int>
@JvmName("compareToShort") fun Attribute<Long>.compareTo(other: Attribute<Short>): Attribute<Int>
fun Attribute<Long>.compareTo(other: Attribute<Long>): Attribute<Int>
fun Attribute<Long>.compareTo(other: Byte): Attribute<Int>
fun Attribute<Long>.compareTo(other: Double): Attribute<Int>
fun Attribute<Long>.compareTo(other: Float): Attribute<Int>
fun Attribute<Long>.compareTo(other: Int): Attribute<Int>
fun Attribute<Long>.compareTo(other: Long): Attribute<Int>
fun Attribute<Long>.compareTo(other: Short): Attribute<Int>

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

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 Attribute<Short>.compareTo(other: Attribute<Byte>): Attribute<Int>
@JvmName("compareToDouble") fun Attribute<Short>.compareTo(other: Attribute<Double>): Attribute<Int>
@JvmName("compareToFloat") fun Attribute<Short>.compareTo(other: Attribute<Float>): Attribute<Int>
@JvmName("compareToInt") fun Attribute<Short>.compareTo(other: Attribute<Int>): Attribute<Int>
@JvmName("compareToLong") fun Attribute<Short>.compareTo(other: Attribute<Long>): Attribute<Int>
fun Attribute<Short>.compareTo(other: Attribute<Short>): Attribute<Int>
fun Attribute<Short>.compareTo(other: Byte): Attribute<Int>
fun Attribute<Short>.compareTo(other: Double): Attribute<Int>
fun Attribute<Short>.compareTo(other: Float): Attribute<Int>
fun Attribute<Short>.compareTo(other: Int): Attribute<Int>
fun Attribute<Short>.compareTo(other: Long): Attribute<Int>
fun Attribute<Short>.compareTo(other: Short): Attribute<Int>

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

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