Class ILongList.IReadOnlyLongListFromList

    • Field Detail

      • list2

        java.util.List<java.lang.Long> list2
    • Constructor Detail

      • IReadOnlyLongListFromList

        IReadOnlyLongListFromList​(java.util.List<java.lang.Long> list)
    • Method Detail

      • size

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

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