Package org.joni

Class BitSet


  • public final class BitSet
    extends java.lang.Object
    • Constructor Detail

      • BitSet

        public BitSet()
    • Method Detail

      • at

        public boolean at​(int pos)
      • set

        public void set​(int pos)
      • clear

        public void clear​(int pos)
      • invert

        public void invert​(int pos)
      • clear

        public void clear()
      • isEmpty

        public boolean isEmpty()
      • setRange

        public void setRange​(ScanEnvironment env,
                             int from,
                             int to)
      • setAll

        public void setAll()
      • invert

        public void invert()
      • invertTo

        public void invertTo​(BitSet to)
      • and

        public void and​(BitSet other)
      • or

        public void or​(BitSet other)
      • copy

        public void copy​(BitSet other)
      • numOn

        int numOn()
      • bit

        private static int bit​(int pos)
      • log2

        private static int log2​(int n)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object