trait Procedure[-T] extends Serializable

A Procedure is like a Function, but it doesn't produce a return value. Serializable is needed to be able to grab line number for Java 8 lambdas. Supports throwing Exception in the apply, which the java.util.function.Consumer counterpart does not.

Annotations
@nowarn() @SerialVersionUID() @FunctionalInterface()
Source
Function.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Procedure
  2. Serializable
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(param: T): Unit
    Annotations
    @throws(classOf[Exception])