类 Bits


  • public class Bits
    extends java.lang.Object
    Bits entity
    • 方法详细资料

      • inverse

        public static Bits inverse​(Bits x)
      • lShift

        public Bits lShift​(int offset)
      • lShift

        public Bits lShift​(Bits offset)
      • rShift

        public Bits rShift​(int offset)
      • rShift

        public Bits rShift​(Bits offset)
      • rrShift

        public Bits rrShift​(int offset)
      • rrShift

        public Bits rrShift​(Bits offset)
      • toByteArray

        public byte[] toByteArray()
      • toByte

        public byte toByte()
      • toShortArray

        public short[] toShortArray()
      • toShort

        public short toShort()
      • toIntArray

        public int[] toIntArray()
      • toInt

        public int toInt()
      • toLongArray

        public long[] toLongArray()
      • toLong

        public long toLong()
      • ofByte

        public static Bits ofByte​(byte val)
      • ofByte

        public static Bits ofByte​(byte val,
                                  int len)
      • ofByte

        public static Bits ofByte​(byte[] val)
      • ofShort

        public static Bits ofShort​(short val)
      • ofShort

        public static Bits ofShort​(short val,
                                   int len)
      • ofShort

        public static Bits ofShort​(short[] val)
      • ofInt

        public static Bits ofInt​(int val)
      • ofInt

        public static Bits ofInt​(int val,
                                 int len)
      • ofInt

        public static Bits ofInt​(int[] val)
      • getByte

        public Bits getByte​(int index)
      • getShort

        public Bits getShort​(int index)
      • getInt

        public Bits getInt​(int index)
      • getLong

        public Bits getLong​(int index)
      • length

        public int length()
      • byteLength

        public int byteLength()
      • shortLength

        public int shortLength()
      • intLength

        public int intLength()
      • longLength

        public int longLength()
      • ofLong

        public static Bits ofLong​(long val)
      • ofLong

        public static Bits ofLong​(long val,
                                  int len)
      • ofLong

        public static Bits ofLong​(long[] val)
      • ofZero

        public static Bits ofZero​(int len)
      • ofOne

        public static Bits ofOne​(int len)
      • append

        public Bits append​(Bits other)
      • subBits

        public Bits subBits​(int fromIndex,
                            int toIndex)
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object