Class ParallelTranslator

java.lang.Object
org.eolang.jeo.ParallelTranslator
All Implemented Interfaces:
Translator

public final class ParallelTranslator extends Object implements Translator
Translator that applies a translation to a batch of representations in parallel.
Since:
0.2
  • Method Details

    • apply

      public Stream<Path> apply(Stream<Path> representations)
      Description copied from interface: Translator
      Apply the translation for all representations.
      Specified by:
      apply in interface Translator
      Parameters:
      representations - IRs to translate.
      Returns:
      Translated IRs.