Class IByteList.IReadOnlyByteListFromMult

    • Field Detail

      • len

        int len
      • elem

        byte elem
    • Constructor Detail

      • IReadOnlyByteListFromMult

        IReadOnlyByteListFromMult​(int len,
                                  byte elem)
    • Method Detail

      • size

        public int size()
        Specified by:
        size in class IByteList
      • doGet

        protected byte doGet​(int index)
        Description copied from class: IByteList
        Helper method for getting an element from the list. This is the only method which really gets an element. Override if you need to validity checks before getting.
        Specified by:
        doGet in class IByteList
        Parameters:
        index - index of element to return
        Returns:
        the element at the specified position in this list