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)
======================================================================
- duplicates
-
JDK-1263765 Lots of Vector methods are final
-
- Closed
-