Class TinyBitSet


  • @Deprecated
    public class TinyBitSet
    extends java.lang.Object
    Deprecated.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int[] T
      Deprecated.
       
      private int value
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      TinyBitSet()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int cardinality()
      Deprecated.
      If bit 31 is set then this method results in an infinite loop.
      void clear​(int index)
      Deprecated.
       
      private static int gcount​(int x)
      Deprecated.
       
      boolean get​(int index)
      Deprecated.
       
      int length()
      Deprecated.
       
      private static int log2​(int i)
      Deprecated.
       
      void set​(int index)
      Deprecated.
       
      private static int topbit​(int i)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • T

        private static int[] T
        Deprecated.
      • value

        private int value
        Deprecated.
    • Constructor Detail

      • TinyBitSet

        public TinyBitSet()
        Deprecated.
    • Method Detail

      • gcount

        private static int gcount​(int x)
        Deprecated.
      • topbit

        private static int topbit​(int i)
        Deprecated.
      • log2

        private static int log2​(int i)
        Deprecated.
      • length

        public int length()
        Deprecated.
      • cardinality

        public int cardinality()
        Deprecated.
        If bit 31 is set then this method results in an infinite loop.
        Returns:
        the number of bits set to true in this TinyBitSet.
      • get

        public boolean get​(int index)
        Deprecated.
      • set

        public void set​(int index)
        Deprecated.
      • clear

        public void clear​(int index)
        Deprecated.