Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8158253

Collections: Implement a noop clear() for EmptyList, EmptyMap and EmptySet

    XMLWordPrintable

Details

    Description

      A DESCRIPTION OF THE REQUEST :
      Collections: Implement a noop clear() for EmptyList, EmptyMap and EmptySet

      JUSTIFICATION :
      clear() for the Collections#Empty* classes are currently redirected to their Abstract* superclasses which perform some work. This is unnecessary here and can be avoided by implementing a noop clear() for these classes.


      Attachments

        Activity

          People

            psandoz Paul Sandoz
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: