aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/scala/kamon/util/FunctionalInterfaces.scala
blob: 1f600b780092dfb562b87985236d07f9671ee130 (plain) (blame)
1
2
3
4
5
6
7
8
9
package kamon.util

trait Supplier[T] {
  def get: T
}

trait Function[T, R] {
  def apply(t: T): R
}