za.co.absa.commons.lang
Defines not type constraint. Can be used to declare a generic type that is _not_ a given type. Inspired by https://gist.github.com/milessabin/c9f8befa932d98dcc7a4}
not
trait VegMenu { def add[A <: Food : not[Meat]#λ](food: A) }
(Since version ) see corresponding Javadoc for more information.
Defines
not
type constraint. Can be used to declare a generic type that is _not_ a given type.Inspired by https://gist.github.com/milessabin/c9f8befa932d98dcc7a4}