Package

pl.touk.nussknacker.engine.api

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. case class MultiMap[K, V](map: TreeMap[K, List[V]]) extends Product with Serializable

    Permalink
  2. trait NotNothing[T] extends AnyRef

    Permalink

    Copied from kafka.utils.NotNothing This is a trick to prevent the compiler from inferring the Nothing type in cases where it would be a bug to do so.

    Copied from kafka.utils.NotNothing This is a trick to prevent the compiler from inferring the Nothing type in cases where it would be a bug to do so. An example is the following method:

    def body[T <: AbstractRequest](implicit classTag: ClassTag[T], nn: NotNothing[T]): T

    If we remove the nn parameter and we invoke it without any type parameters (e.g. request.body), Nothing would be inferred, which is not desirable. As defined above, we get a helpful compiler error asking the user to provide the type parameter explicitly.

    Annotations
    @implicitNotFound( ... )

Value Members

  1. object MultiMap extends Serializable

    Permalink
  2. object NotNothing

    Permalink
  3. object ReflectUtils

    Permalink

Ungrouped