public class Vote extends I8
A number of lock periods, plus a vote, one way or the other.
Constructor and Description |
---|
Vote(java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAye()
true is the wrapped value is a positive vote
|
boolean |
isNay()
true is the wrapped value is a negative vote
|
bitLength, eq, getEncodedLength, isEmpty, toBn, toJson
abs, add, and, andNot, bitCount, byteValueExact, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, intValueExact, isProbablePrime, longValue, longValueExact, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, shortValueExact, signum, subtract, testBit, toByteArray, toString, toString, valueOf, xor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getConstructorCodec, toU8a