Class Bits


  • public class Bits
    extends java.lang.Object
    ?r?b?g???????????????[?e?B???e?B???\?b?h?Q?B
     -- revision history --
     $Log: Bits.java,v $
     Revision 1.0  2002/12/05 00:00:00  dangan
     first edition
     add to version control
    
     
    Version:
    $Revision: 1.0 $
    Author:
    $Author: dangan $
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int len​(int val)
      val ???r?b?g?????????B val ?????????? 32?r?b?g?????????????????B log2( (long)val & 0xFFFFFFFFL ) ???????l?? ????_???????????????????????????B
      • Methods inherited from class java.lang.Object

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

      • len

        public static int len​(int val)
        val ???r?b?g?????????B val ?????????? 32?r?b?g?????????????????B log2( (long)val & 0xFFFFFFFFL ) ???????l?? ????_???????????????????????????B
        Parameters:
        val - ?????l
        Returns:
        val ???r?b?g??