package nthportal
- Alphabetic
- By Inheritance
- nthportal
- ExtraPredef
- VersionSpecificExtraPredef
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
- package extrapredef
Value Members
- def !!!: Nothing
Indicates that a condition or code path is impossible.
Indicates that a condition or code path is impossible.
Alias for impossible.
- Definition Classes
- ExtraPredef
- Annotations
- @inline()
- implicit def asExtraRichEither[L, R](self: Either[L, R]): ExtraRichEither[L, R]
- Definition Classes
- ExtraPredef
- implicit def asExtraRichNullable[A](self: A): ExtraRichNullable[A]
- Definition Classes
- ExtraPredef
- implicit def asExtraRichOption[A](self: Option[A]): ExtraRichOption[A]
- Definition Classes
- ExtraPredef
- implicit def asExtraRichOrdered[A <: Ordered[A]](self: A): ExtraRichOrdered[A]
- Definition Classes
- ExtraPredef
- implicit def asExtraRichOrderedInt(prev: Int): ExtraRichOrderedInt
- Definition Classes
- ExtraPredef
- implicit def asExtraRichSortedMap[K, V](self: SortedMap[K, V]): ExtraRichSortedMap[K, V]
- Definition Classes
- ExtraPredef
- implicit def asExtraRichTry[A](self: Try[A]): ExtraRichTry[A]
- Definition Classes
- ExtraPredef
- def impossible: Nothing
Indicates that a condition or code path is impossible.
Indicates that a condition or code path is impossible.
- Definition Classes
- ExtraPredef
- def requireState(requirement: Boolean, message: => Any): Unit
Tests an expression, throwing an IllegalStateException if false.
Tests an expression, throwing an IllegalStateException if false. This method is similar to
Predef.require
, but tests a state instead of a method argument.- requirement
the expression to test
- message
a String to include in the failure message
- Definition Classes
- ExtraPredef
- Annotations
- @inline() @throws(scala.this.throws.<init>$default$1[IllegalStateException])
- Exceptions thrown
IllegalStateException
if the expression is false
- def requireState(requirement: Boolean): Unit
Tests an expression, throwing an IllegalStateException if false.
Tests an expression, throwing an IllegalStateException if false. This method is similar to
Predef.require
, but tests a state instead of a method argument.- requirement
the expression to test
- Definition Classes
- ExtraPredef
- Annotations
- @inline() @throws(scala.this.throws.<init>$default$1[IllegalStateException])
- Exceptions thrown
IllegalStateException
if the expression is false