Class IShortList.IReadOnlyShortListFromMult

    • Field Detail

      • len

        int len
      • elem

        short elem
    • Constructor Detail

      • IReadOnlyShortListFromMult

        IReadOnlyShortListFromMult​(int len,
                                   short elem)
    • Method Detail

      • doGet

        protected short doGet​(int index)
        Description copied from class: IShortList
        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 IShortList
        Parameters:
        index - index of element to return
        Returns:
        the element at the specified position in this list