Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5661

Check emptiness with Collection.isEmpty()

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 18.0.0.Beta3, 18.0.0.Final
    • 18.0.0.Beta2
    • None
    • None

      The time complexity of any isEmpty() method implementation should be

      O(1)

      whereas some implementations of size() can be

      O(n)

      Refers to RSPEC-1155

          There are no Sub-Tasks for this issue.

              xf01213 Boris Unckel (Inactive)
              xf01213 Boris Unckel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: