Package org.polkadot.types.type
Class Vote
- java.lang.Object
-
- java.lang.Number
-
- java.math.BigInteger
-
- org.polkadot.types.codec.AbstractInt
-
- org.polkadot.types.primitive.Int
-
- org.polkadot.types.primitive.I8
-
- org.polkadot.types.type.Vote
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<java.math.BigInteger>,Codec
public class Vote extends I8
A number of lock periods, plus a vote, one way or the other.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Vote(java.lang.Object value)
-
Method Summary
-
Methods inherited from class org.polkadot.types.codec.AbstractInt
bitLength, eq, getEncodedLength, isEmpty, toBn, toJson
-
Methods inherited from class java.math.BigInteger
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, sqrt, sqrtAndRemainder, subtract, testBit, toByteArray, toString, toString, valueOf, xor
-
-