test_class.file: dropwizard-service-discovery-bundle/src/test/java/io/appform/dropwizard/discovery/bundle/id/CollisionCheckerTest.java
test_class.identifier: CollisionCheckerTest
test_case.body: @Test
      public void testCheck() throws Exception {
          CollisionChecker collisionChecker = new CollisionChecker();
          Assert.assertTrue(collisionChecker.check(100, 1));
          Assert.assertFalse(collisionChecker.check(100, 1));
          for (int i = 0; i < 1000; i++) {
              Assert.assertTrue(collisionChecker.check(101, i));
              Assert.assertFalse(collisionChecker.check(101, i));
          }
  
      }
test_case.class_method_signature: CollisionCheckerTest.testCheck()
test_case.full_signature: @Test public void testCheck()
test_case.identifier: testCheck
test_case.invocations: assertTrue check assertFalse check assertTrue check assertFalse check
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCheck()
focal_class.declarator: bitSet = new BitSet(1000)
focal_class.modifier: private
focal_class.original_string: private BitSet bitSet = new BitSet(1000);
focal_class.type: BitSet
focal_class.var_name: bitSet
focal_class.declarator: currentInstant = 0
focal_class.modifier: private
focal_class.original_string: private long currentInstant = 0;
focal_class.type: long
focal_class.var_name: currentInstant
focal_class.file: dropwizard-service-discovery-bundle/src/main/java/io/appform/dropwizard/discovery/bundle/id/CollisionChecker.java
focal_class.identifier: CollisionChecker
focal_class.class_method_signature: CollisionChecker.CollisionChecker()
focal_class.full_signature: public  CollisionChecker()
focal_class.identifier: CollisionChecker
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  CollisionChecker()
focal_class.class_method_signature: CollisionChecker.check(long time, int location)
focal_class.full_signature: public boolean check(long time, int location)
focal_class.identifier: check
focal_class.modifiers: public
focal_class.parameters: (long time, int location)
focal_class.return: boolean
focal_class.signature: boolean check(long time, int location)
focal_method.body: public boolean check(long time, int location) {
          if(currentInstant != time) {
              currentInstant = time;
              bitSet.clear();
          }
  
          if(bitSet.get(location)) {
              return false;
          }
          bitSet.set(location);
          return true;
      }
focal_method.class_method_signature: CollisionChecker.check(long time, int location)
focal_method.full_signature: public boolean check(long time, int location)
focal_method.identifier: check
focal_method.invocations: clear get set
focal_method.modifiers: public
focal_method.parameters: (long time, int location)
focal_method.return: boolean
focal_method.signature: boolean check(long time, int location)