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

flipBit

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

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

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