Class SparseEntry

    • Constructor Detail

      • SparseEntry

        public SparseEntry​(long index)
        Useful for making index entries, i.e., checking is an element is at a certain index but not caring about the entry (which we never do, since we are modelling lists with these).
        Parameters:
        index -
      • SparseEntry

        public SparseEntry​(long index,
                           QDLValue entry)
    • Method Detail

      • compareTo

        public int compareTo​(Object v)
        This method checks the index of a sparse entry.
        Specified by:
        compareTo in interface Comparable
        Parameters:
        v -
        Returns: