Class Tuple

    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      Modifier and Type Method Description
      int getEncodedLength()
      The length of the value when encoded as a Uint8Array
      java.util.List<java.lang.String> getTypes()
      The types definition of the tuple
      java.lang.String toString()
      Returns the string representation of the value
      byte[] toU8a​(boolean isBare)
      Encodes the value as a Uint8Array as per the parity-codec specifications
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.polkadot.types.Codec

        toU8a
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Method Detail

      • getTypes

        public java.util.List<java.lang.String> getTypes()
        The types definition of the tuple
      • toString

        public java.lang.String toString()
        Returns the string representation of the value
        Overrides:
        toString in class java.util.AbstractCollection<Codec>
      • toU8a

        public byte[] toU8a​(boolean isBare)
        Description copied from class: AbstractArray
        Encodes the value as a Uint8Array as per the parity-codec specifications
        Specified by:
        toU8a in interface Codec
        Overrides:
        toU8a in class AbstractArray<Codec>
        Parameters:
        isBare - true when the value has none of the type-specific prefixes (internal) Encodes the value as a Uint8Array as per the parity-codec specifications