too many final methods

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.1.4
    • Component/s: core-libs
    • x86
    • windows_95



      Name: rm29839 Date: 10/29/97


      I've found so much final methods when I tried to
      enhance some of the basic classes, e.g:

      I wanted to create a "SortedVector" from the
      class "Vector" which should be transparent to
      the user. But because the methods of Vector are
      all final I have to define special methods for
      this. The user now has to decide in advance whether
      he wants a sorted or a non sorted vector.

      Are these final methods really necessary ?
      What can happen if you make them nonfinal ?

      Best Regards
      Hardy Haardt
      (Review ID: 14627)
      ======================================================================

            Assignee:
            Josh Bloch (Inactive)
            Reporter:
            Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: