All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.scaladebugger.api.pipelines.NoOperation.scala Maven / Gradle / Ivy

package org.scaladebugger.api.pipelines
import acyclic.file

/**
 * Represents an operation that does nothing (no-op).
 *
 * @tparam A The type of data coming into the operation
 */
class NoOperation[A] extends Operation[A, A] {
  /**
   * Passes the incoming data as the output of this function.
   *
   * @param data The data to process
   *
   * @return The same data
   */
  override def process(data: Seq[A]): Seq[A] = data
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy