Class ReferendumIndex

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<java.math.BigInteger>, Codec, Compactable

    public class ReferendumIndex
    extends U32
    An increasing number that represents a specific referendum in the system. It is unique per chain. Implemented as U32
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.math.BigInteger

        ONE, TEN, TWO, ZERO
    • Constructor Summary

      Constructors 
      Constructor Description
      ReferendumIndex​(java.lang.Object value)  
    • Method Summary

      • 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
      • Methods inherited from class java.lang.Number

        byteValue, shortValue
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ReferendumIndex

        public ReferendumIndex​(java.lang.Object value)