public class XorBitFunction extends FunctionNode
GroupingExpression
. It evaluates to a long that equals the xor of
'width' bits over the binary representation of the result of the argument.Constructor and Description |
---|
XorBitFunction(GroupingExpression exp,
int numBits)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
int |
getNumBits()
Returns the number of bits of the expression value to xor.
|
asList, asList, asList, getArg, getNumArgs, iterator, resolveLevel, visit
asImage, asString, getLevel, setLabel
getLabel, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public XorBitFunction(GroupingExpression exp, int numBits)
exp
- The expression to evaluate.numBits
- The number of bits of the expression value to xor.Copyright © 2017. All rights reserved.