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

flipBit

fun Attribute<BigInteger>.flipBit(n: Attribute<Int>): Attribute<BigInteger>
fun Attribute<BigInteger>.flipBit(n: Int): Attribute<BigInteger>

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

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

This is simply a convenience function.

See Also

java.math.BigInteger.flipBit