Scala Library: scala.NotNull
scala.NotNull
trait NotNull extends Any
A marker trait for things that are not allowed to be null
- Annotations
- @ deprecated
- Deprecated
- (Since version 2.11.0) This trait will be removed
- Source
- Since
- 2.5
Full Source:
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
package scala
/**
* A marker trait for things that are not allowed to be null
* @since 2.5
*/
@deprecated("This trait will be removed", "2.11.0")
trait NotNull extends Any {}
Interested in Scala?
I send out weekly, personalized emails with articles and conference talks.
Subscribe now.