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

Provide valued constructors for java.util.BitSet

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 1.2.0
    • core-libs
    • generic
    • generic



      Name: diC59631 Date: 11/25/98


      It would be useful having constructors in
      java.util.BitSet like:
      BitSet(boolean defaultValue);
      BitSet(int nbits, boolean defaultValue);

      These would then initialise all elements in the
      BitSet to the given defaultValue, so helping
      (and speeding up) operations where the 'default'
      is true, not false (theoretically, that's half
      the uses of BitSet!)
      (Review ID: 43404)
      ======================================================================

            mmcclosksunw Michael Mccloskey (Inactive)
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: