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

Provide 'set(index,value)' function for java.util.BitSet

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.2.0
    • core-libs
    • beta2
    • generic
    • generic



      Name: diC59631 Date: 11/25/98


      It would be very convenient having a function
      in java.util.BitSet that allows the user to set
      the value of one bit to a variable value:
      boolean set(int index, boolean value)
      (The function should return the previous value).
      This would make a significant amount of code
      involving BitSets more readable (and easier to
      write in the first place).
      (Review ID: 43403)
      ======================================================================

            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: