@Test public void testIsTrue() { for (int i = 0; i < 8; i++) { b = ByteUtil.setTrue(b, i); assertTrue(ByteUtil.isTrue(b, i)); } }
public static boolean isTrue(final byte number, final int index) { return (number & (POWERS[index])) != 0; }
ByteUtil { public static boolean isTrue(final byte number, final int index) { return (number & (POWERS[index])) != 0; } }
ByteUtil { public static boolean isTrue(final byte number, final int index) { return (number & (POWERS[index])) != 0; } private  ByteUtil(); }
ByteUtil { public static boolean isTrue(final byte number, final int index) { return (number & (POWERS[index])) != 0; } private  ByteUtil(); static byte setTrue(final byte number, final int index); static byte setFalse(final byte number, final int index); static boolean isTrue(final byte number, final int index); static boolean isFalse(final byte number, final int index); static byte toByte(boolean... values); static boolean[] fromByte(byte b); static String toBinaryString(final byte number); }
ByteUtil { public static boolean isTrue(final byte number, final int index) { return (number & (POWERS[index])) != 0; } private  ByteUtil(); static byte setTrue(final byte number, final int index); static byte setFalse(final byte number, final int index); static boolean isTrue(final byte number, final int index); static boolean isFalse(final byte number, final int index); static byte toByte(boolean... values); static boolean[] fromByte(byte b); static String toBinaryString(final byte number);  }