test_class.file: modules/ml/src/test/java/org/apache/ignite/ml/inference/builder/ThreadedModelBuilderTest.java
test_class.identifier: ThreadedModelBuilderTest
test_case.body: @Test
      public void testBuild() throws ExecutionException, InterruptedException {
          AsyncModelBuilder mdlBuilder = new ThreadedModelBuilder(10);
  
          Model<Integer, Future<Integer>> infMdl = mdlBuilder.build(
              ModelBuilderTestUtil.getReader(),
              ModelBuilderTestUtil.getParser()
          );
  
          for (int i = 0; i < 100; i++)
              assertEquals(Integer.valueOf(i), infMdl.predict(i).get());
      }
test_case.class_method_signature: ThreadedModelBuilderTest.testBuild()
test_case.full_signature: @Test public void testBuild()
test_case.identifier: testBuild
test_case.invocations: build getReader getParser assertEquals valueOf get predict
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBuild()
focal_class.declarator: threads
focal_class.modifier: private final
focal_class.original_string: private final int threads;
focal_class.type: int
focal_class.var_name: threads
focal_class.file: modules/ml/src/main/java/org/apache/ignite/ml/inference/builder/ThreadedModelBuilder.java
focal_class.identifier: ThreadedModelBuilder
focal_class.interfaces: implements AsyncModelBuilder
focal_class.class_method_signature: ThreadedModelBuilder.ThreadedModelBuilder(int threads)
focal_class.full_signature: public  ThreadedModelBuilder(int threads)
focal_class.identifier: ThreadedModelBuilder
focal_class.modifiers: public
focal_class.parameters: (int threads)
focal_class.signature:  ThreadedModelBuilder(int threads)
focal_class.class_method_signature: ThreadedModelBuilder.build(
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_class.full_signature: @Override public Model<I, Future<O>> build(
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_class.identifier: build
focal_class.modifiers: @Override public
focal_class.parameters: (
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_class.return: Model<I, Future<O>>
focal_class.signature: Model<I, Future<O>> build(
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_method.body: @Override public <I extends Serializable, O extends Serializable> Model<I, Future<O>> build(
          ModelReader reader, ModelParser<I, O, ?> parser) {
          return new ThreadedInfModel<>(parser.parse(reader.read()), threads);
      }
focal_method.class_method_signature: ThreadedModelBuilder.build(
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_method.full_signature: @Override public Model<I, Future<O>> build(
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_method.identifier: build
focal_method.invocations: parse read
focal_method.modifiers: @Override public
focal_method.parameters: (
          ModelReader reader, ModelParser<I, O, ?> parser)
focal_method.return: Model<I, Future<O>>
focal_method.signature: Model<I, Future<O>> build(
          ModelReader reader, ModelParser<I, O, ?> parser)