test_class.file: core/src/test/java/dk/alexandra/fresco/framework/util/TestByteAndBitConverter.java
test_class.identifier: TestByteAndBitConverter
test_case.body: @Test
    public void testIntToBitSet() {
      BitSet x = ByteAndBitConverter.intToBitSet(5);
      BitSet expectedX = new BitSet(Integer.SIZE);
      expectedX.set(0);
      expectedX.set(2);
      Assert.assertEquals(expectedX, x);
      BitSet y = ByteAndBitConverter.intToBitSet(0);
      BitSet expectedY = new BitSet(Integer.SIZE);
      Assert.assertEquals(expectedY, y);
      BitSet z = ByteAndBitConverter.intToBitSet(-9);
      BitSet expectedZ = new BitSet(Integer.SIZE);
      expectedZ.set(3);
      expectedZ.flip(0, Integer.SIZE);
      Assert.assertEquals(expectedZ, z);
    }
test_case.class_method_signature: TestByteAndBitConverter.testIntToBitSet()
test_case.full_signature: @Test public void testIntToBitSet()
test_case.identifier: testIntToBitSet
test_case.invocations: intToBitSet set set assertEquals intToBitSet assertEquals intToBitSet set flip assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIntToBitSet()
focal_class.file: core/src/main/java/dk/alexandra/fresco/framework/util/ByteAndBitConverter.java
focal_class.identifier: ByteAndBitConverter
focal_class.class_method_signature: ByteAndBitConverter.ByteAndBitConverter()
focal_class.full_signature: private  ByteAndBitConverter()
focal_class.identifier: ByteAndBitConverter
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ByteAndBitConverter()
focal_class.class_method_signature: ByteAndBitConverter.toByteArray(long value)
focal_class.full_signature: public static byte[] toByteArray(long value)
focal_class.identifier: toByteArray
focal_class.modifiers: public static
focal_class.parameters: (long value)
focal_class.return: byte[]
focal_class.signature: byte[] toByteArray(long value)
focal_class.class_method_signature: ByteAndBitConverter.toByteArray(int value)
focal_class.full_signature: public static byte[] toByteArray(int value)
focal_class.identifier: toByteArray
focal_class.modifiers: public static
focal_class.parameters: (int value)
focal_class.return: byte[]
focal_class.signature: byte[] toByteArray(int value)
focal_class.class_method_signature: ByteAndBitConverter.intToBitSet(int i)
focal_class.full_signature: public static BitSet intToBitSet(int i)
focal_class.identifier: intToBitSet
focal_class.modifiers: public static
focal_class.parameters: (int i)
focal_class.return: BitSet
focal_class.signature: BitSet intToBitSet(int i)
focal_class.class_method_signature: ByteAndBitConverter.toBoolean(String hex)
focal_class.full_signature: public static Boolean[] toBoolean(String hex)
focal_class.identifier: toBoolean
focal_class.modifiers: public static
focal_class.parameters: (String hex)
focal_class.return: Boolean[]
focal_class.signature: Boolean[] toBoolean(String hex)
focal_class.class_method_signature: ByteAndBitConverter.toHex(boolean[] bits)
focal_class.full_signature: public static String toHex(boolean[] bits)
focal_class.identifier: toHex
focal_class.modifiers: public static
focal_class.parameters: (boolean[] bits)
focal_class.return: String
focal_class.signature: String toHex(boolean[] bits)
focal_class.class_method_signature: ByteAndBitConverter.toHex(List<Boolean> bits)
focal_class.full_signature: public static String toHex(List<Boolean> bits)
focal_class.identifier: toHex
focal_class.modifiers: public static
focal_class.parameters: (List<Boolean> bits)
focal_class.return: String
focal_class.signature: String toHex(List<Boolean> bits)
focal_class.class_method_signature: ByteAndBitConverter.convertArray(Boolean[] in)
focal_class.full_signature: private static boolean[] convertArray(Boolean[] in)
focal_class.identifier: convertArray
focal_class.modifiers: private static
focal_class.parameters: (Boolean[] in)
focal_class.return: boolean[]
focal_class.signature: boolean[] convertArray(Boolean[] in)
focal_method.body: public static BitSet intToBitSet(int i) {
      BitSet bs = new BitSet(Integer.SIZE);
      for (int k = 0; k < Integer.SIZE; k++) {
        if ((i & (1 << k)) != 0) {
          bs.set(k);
        }
      }
      return bs;
    }
focal_method.class_method_signature: ByteAndBitConverter.intToBitSet(int i)
focal_method.full_signature: public static BitSet intToBitSet(int i)
focal_method.identifier: intToBitSet
focal_method.invocations: set
focal_method.modifiers: public static
focal_method.parameters: (int i)
focal_method.return: BitSet
focal_method.signature: BitSet intToBitSet(int i)