Class IDoubleList.IReadOnlyDoubleListFromCollection

    • Field Detail

      • array

        double[] array
    • Constructor Detail

      • IReadOnlyDoubleListFromCollection

        IReadOnlyDoubleListFromCollection​(java.util.Collection<java.lang.Double> coll)
    • Method Detail

      • doGet

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