Class ReadOnlyBitSet

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class ReadOnlyBitSet
    extends java.util.BitSet
    Author:
    Pavel.Sher Date: 10.08.2007
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void and​(java.util.BitSet set)  
      void andNot​(java.util.BitSet set)  
      void clear()  
      void clear​(int bitIndex)  
      void clear​(int fromIndex, int toIndex)  
      void flip​(int bitIndex)  
      void flip​(int fromIndex, int toIndex)  
      void or​(java.util.BitSet set)  
      void set​(int bitIndex)  
      void set​(int bitIndex, boolean value)  
      void set​(int fromIndex, int toIndex)  
      void set​(int fromIndex, int toIndex, boolean value)  
      void xor​(java.util.BitSet set)  
      • Methods inherited from class java.util.BitSet

        cardinality, clone, equals, get, get, hashCode, intersects, isEmpty, length, nextClearBit, nextSetBit, previousClearBit, previousSetBit, size, stream, toByteArray, toLongArray, toString, valueOf, valueOf, valueOf, valueOf
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ReadOnlyBitSet

        public ReadOnlyBitSet()
      • ReadOnlyBitSet

        public ReadOnlyBitSet​(java.util.BitSet bits)
      • ReadOnlyBitSet

        public ReadOnlyBitSet​(int index)
    • Method Detail

      • flip

        public void flip​(int bitIndex)
        Overrides:
        flip in class java.util.BitSet
      • flip

        public void flip​(int fromIndex,
                         int toIndex)
        Overrides:
        flip in class java.util.BitSet
      • set

        public void set​(int bitIndex)
        Overrides:
        set in class java.util.BitSet
      • set

        public void set​(int bitIndex,
                        boolean value)
        Overrides:
        set in class java.util.BitSet
      • set

        public void set​(int fromIndex,
                        int toIndex)
        Overrides:
        set in class java.util.BitSet
      • set

        public void set​(int fromIndex,
                        int toIndex,
                        boolean value)
        Overrides:
        set in class java.util.BitSet
      • clear

        public void clear​(int bitIndex)
        Overrides:
        clear in class java.util.BitSet
      • clear

        public void clear​(int fromIndex,
                          int toIndex)
        Overrides:
        clear in class java.util.BitSet
      • clear

        public void clear()
        Overrides:
        clear in class java.util.BitSet
      • and

        public void and​(java.util.BitSet set)
        Overrides:
        and in class java.util.BitSet
      • or

        public void or​(java.util.BitSet set)
        Overrides:
        or in class java.util.BitSet
      • xor

        public void xor​(java.util.BitSet set)
        Overrides:
        xor in class java.util.BitSet
      • andNot

        public void andNot​(java.util.BitSet set)
        Overrides:
        andNot in class java.util.BitSet