Trait

eu.timepit.refined.types

AllTypes

Related Doc: package types

Permalink

trait AllTypes extends CharTypes with NetTypes with NumericTypes with StringTypes with TimeTypes

Source
all.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AllTypes
  2. TimeTypes
  3. StringTypes
  4. NumericTypes
  5. NetTypes
  6. CharTypes
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Day = Refined[Int, Closed[Int(1), Int(31)]]

    Permalink

    An Int in the range from 1 to 31 representing the day-of-month.

    An Int in the range from 1 to 31 representing the day-of-month. Note that the days from 29 to 31 are not valid for all months.

    Definition Classes
    TimeTypes
  2. type DynamicPortNumber = Refined[Int, Closed[Int(49152), Int(65535)]]

    Permalink

    An Int in the range from 49152 to 65535 representing a port number.

    An Int in the range from 49152 to 65535 representing a port number.

    Definition Classes
    NetTypes
  3. type Hour = Refined[Int, Closed[Int(0), Int(23)]]

    Permalink

    An Int in the range from 0 to 23 representing the hour-of-day.

    An Int in the range from 0 to 23 representing the hour-of-day.

    Definition Classes
    TimeTypes
  4. type LowerCaseChar = Refined[Char, LowerCase]

    Permalink

    A Char that is a lower case character.

    A Char that is a lower case character.

    Definition Classes
    CharTypes
  5. type Millis = Refined[Int, Closed[Int(0), Int(999)]]

    Permalink

    An Int in the range from 0 to 999 representing the millisecond-of-second.

    An Int in the range from 0 to 999 representing the millisecond-of-second.

    Definition Classes
    TimeTypes
  6. type Minute = Refined[Int, Closed[Int(0), Int(59)]]

    Permalink

    An Int in the range from 0 to 59 representing the minute-of-hour.

    An Int in the range from 0 to 59 representing the minute-of-hour.

    Definition Classes
    TimeTypes
  7. type Month = Refined[Int, Closed[Int(1), Int(12)]]

    Permalink

    An Int in the range from 1 to 12 representing the month-of-year.

    An Int in the range from 1 to 12 representing the month-of-year.

    Definition Classes
    TimeTypes
  8. type NegInt = Refined[Int, Negative]

    Permalink

    An Int in the range from Int.MinValue to -1.

    An Int in the range from Int.MinValue to -1.

    Definition Classes
    NumericTypes
  9. type NegLong = Refined[Long, Negative]

    Permalink

    A Long in the range from Long.MinValue to -1.

    A Long in the range from Long.MinValue to -1.

    Definition Classes
    NumericTypes
  10. type NonEmptyString = Refined[String, NonEmpty]

    Permalink

    A String that is not empty.

    A String that is not empty.

    Definition Classes
    StringTypes
  11. type NonNegInt = Refined[Int, NonNegative]

    Permalink

    An Int in the range from 0 to Int.MaxValue.

    An Int in the range from 0 to Int.MaxValue.

    Definition Classes
    NumericTypes
  12. type NonNegLong = Refined[Long, NonNegative]

    Permalink

    A Long in the range from 0 to Long.MaxValue.

    A Long in the range from 0 to Long.MaxValue.

    Definition Classes
    NumericTypes
  13. type NonPosInt = Refined[Int, NonPositive]

    Permalink

    An Int in the range from Int.MinValue to 0.

    An Int in the range from Int.MinValue to 0.

    Definition Classes
    NumericTypes
  14. type NonPosLong = Refined[Long, NonPositive]

    Permalink

    A Long in the range from Long.MinValue to 0.

    A Long in the range from Long.MinValue to 0.

    Definition Classes
    NumericTypes
  15. type NonSystemPortNumber = Refined[Int, Closed[Int(1024), Int(65535)]]

    Permalink

    An Int in the range from 1024 to 65535 representing a port number.

    An Int in the range from 1024 to 65535 representing a port number.

    Definition Classes
    NetTypes
  16. type PortNumber = Refined[Int, Closed[Int(0), Int(65535)]]

    Permalink

    An Int in the range from 0 to 65535 representing a port number.

    An Int in the range from 0 to 65535 representing a port number.

    Definition Classes
    NetTypes
  17. type PosInt = Refined[Int, Positive]

    Permalink

    An Int in the range from 1 to Int.MaxValue.

    An Int in the range from 1 to Int.MaxValue.

    Definition Classes
    NumericTypes
  18. type PosLong = Refined[Long, Positive]

    Permalink

    A Long in the range from 1 to Long.MaxValue.

    A Long in the range from 1 to Long.MaxValue.

    Definition Classes
    NumericTypes
  19. type PrivateNetwork = Refined[String, Or[Or[Or[Rfc1918PrivateSpec, Rfc5737TestnetSpec], Rfc3927LocalLinkSpec], Rfc2544BenchmarkSpec]]

    Permalink

    A String representing a valid IPv4 in a private network according to RFC1918, RFC5737, RFC3927 or RFC2544

    A String representing a valid IPv4 in a private network according to RFC1918, RFC5737, RFC3927 or RFC2544

    Definition Classes
    NetTypes
  20. type Rfc1918ClassAPrivate = Refined[String, Rfc1918ClassAPrivateSpec]

    Permalink

    A String representing a valid IPv4 in the private network 10.0.0.0/8 (RFC1918)

    A String representing a valid IPv4 in the private network 10.0.0.0/8 (RFC1918)

    Definition Classes
    NetTypes
  21. type Rfc1918ClassBPrivate = Refined[String, Rfc1918ClassBPrivateSpec]

    Permalink

    A String representing a valid IPv4 in the private network 172.15.0.0/12 (RFC1918)

    A String representing a valid IPv4 in the private network 172.15.0.0/12 (RFC1918)

    Definition Classes
    NetTypes
  22. type Rfc1918ClassCPrivate = Refined[String, Rfc1918ClassCPrivateSpec]

    Permalink

    A String representing a valid IPv4 in the private network 192.168.0.0/16 (RFC1918)

    A String representing a valid IPv4 in the private network 192.168.0.0/16 (RFC1918)

    Definition Classes
    NetTypes
  23. type Rfc1918Private = Refined[String, Rfc1918PrivateSpec]

    Permalink

    A String representing a valid IPv4 in a private network according to RFC1918

    A String representing a valid IPv4 in a private network according to RFC1918

    Definition Classes
    NetTypes
  24. type Rfc2544Benchmark = Refined[String, Rfc2544BenchmarkSpec]

    Permalink

    A String representing a valid IPv4 in the benchmarking network 198.18.0.0/15 (RFC2544)

    A String representing a valid IPv4 in the benchmarking network 198.18.0.0/15 (RFC2544)

    Definition Classes
    NetTypes
  25. type Rfc3927LocalLink = Refined[String, Rfc3927LocalLinkSpec]

    Permalink

    A String representing a valid IPv4 in the local link network 169.254.0.0/16 (RFC3927)

    A String representing a valid IPv4 in the local link network 169.254.0.0/16 (RFC3927)

    Definition Classes
    NetTypes
  26. type Rfc5737Testnet = Refined[String, Rfc5737TestnetSpec]

    Permalink

    A String representing a valid IPv4 in a private network according to RFC5737

    A String representing a valid IPv4 in a private network according to RFC5737

    Definition Classes
    NetTypes
  27. type Rfc5737Testnet1 = Refined[String, Rfc5737Testnet1Spec]

    Permalink

    A String representing a valid IPv4 in the private network 192.0.2.0/24 (RFC5737)

    A String representing a valid IPv4 in the private network 192.0.2.0/24 (RFC5737)

    Definition Classes
    NetTypes
  28. type Rfc5737Testnet2 = Refined[String, Rfc5737Testnet2Spec]

    Permalink

    A String representing a valid IPv4 in the private network 198.51.100.0/24 (RFC5737)

    A String representing a valid IPv4 in the private network 198.51.100.0/24 (RFC5737)

    Definition Classes
    NetTypes
  29. type Rfc5737Testnet3 = Refined[String, Rfc5737Testnet3Spec]

    Permalink

    A String representing a valid IPv4 in the private network 203.0.113.0/24 (RFC5737)

    A String representing a valid IPv4 in the private network 203.0.113.0/24 (RFC5737)

    Definition Classes
    NetTypes
  30. type Second = Refined[Int, Closed[Int(0), Int(59)]]

    Permalink

    An Int in the range from 0 to 59 representing the second-of-minute.

    An Int in the range from 0 to 59 representing the second-of-minute.

    Definition Classes
    TimeTypes
  31. type SystemPortNumber = Refined[Int, Closed[Int(0), Int(1023)]]

    Permalink

    An Int in the range from 0 to 1023 representing a port number.

    An Int in the range from 0 to 1023 representing a port number.

    Definition Classes
    NetTypes
  32. type TrimmedString = Refined[String, MatchesRegex[String("^(?!\\s).*(?<!\\s)")]]

    Permalink

    A String that contains no leading or trailing whitespace.

    A String that contains no leading or trailing whitespace.

    Definition Classes
    StringTypes
  33. type UpperCaseChar = Refined[Char, UpperCase]

    Permalink

    A Char that is an upper case character.

    A Char that is an upper case character.

    Definition Classes
    CharTypes
  34. type UserPortNumber = Refined[Int, Closed[Int(1024), Int(49151)]]

    Permalink

    An Int in the range from 1024 to 49151 representing a port number.

    An Int in the range from 1024 to 49151 representing a port number.

    Definition Classes
    NetTypes

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Day extends RefinedTypeOps[Day, Int]

    Permalink
    Definition Classes
    TimeTypes
  5. object DynamicPortNumber extends RefinedTypeOps[DynamicPortNumber, Int]

    Permalink
    Definition Classes
    NetTypes
  6. object Hour extends RefinedTypeOps[Hour, Int]

    Permalink
    Definition Classes
    TimeTypes
  7. object LowerCaseChar extends RefinedTypeOps[LowerCaseChar, Char]

    Permalink
    Definition Classes
    CharTypes
  8. object Millis extends RefinedTypeOps[Millis, Int]

    Permalink
    Definition Classes
    TimeTypes
  9. object Minute extends RefinedTypeOps[Minute, Int]

    Permalink
    Definition Classes
    TimeTypes
  10. object Month extends RefinedTypeOps[Month, Int]

    Permalink
    Definition Classes
    TimeTypes
  11. object NegInt extends RefinedTypeOps[NegInt, Int]

    Permalink
    Definition Classes
    NumericTypes
  12. object NegLong extends RefinedTypeOps[NegLong, Long]

    Permalink
    Definition Classes
    NumericTypes
  13. object NonEmptyString extends RefinedTypeOps[NonEmptyString, String]

    Permalink
    Definition Classes
    StringTypes
  14. object NonNegInt extends RefinedTypeOps[NonNegInt, Int]

    Permalink
    Definition Classes
    NumericTypes
  15. object NonNegLong extends RefinedTypeOps[NonNegLong, Long]

    Permalink
    Definition Classes
    NumericTypes
  16. object NonPosInt extends RefinedTypeOps[NonPosInt, Int]

    Permalink
    Definition Classes
    NumericTypes
  17. object NonPosLong extends RefinedTypeOps[NonPosLong, Long]

    Permalink
    Definition Classes
    NumericTypes
  18. object NonSystemPortNumber extends RefinedTypeOps[NonSystemPortNumber, Int]

    Permalink
    Definition Classes
    NetTypes
  19. object PortNumber extends RefinedTypeOps[PortNumber, Int]

    Permalink
    Definition Classes
    NetTypes
  20. object PosInt extends RefinedTypeOps[PosInt, Int]

    Permalink
    Definition Classes
    NumericTypes
  21. object PosLong extends RefinedTypeOps[PosLong, Long]

    Permalink
    Definition Classes
    NumericTypes
  22. object PrivateNetworks

    Permalink
    Definition Classes
    NetTypes
  23. object Second extends RefinedTypeOps[Second, Int]

    Permalink
    Definition Classes
    TimeTypes
  24. object SystemPortNumber extends RefinedTypeOps[SystemPortNumber, Int]

    Permalink
    Definition Classes
    NetTypes
  25. object TrimmedString extends RefinedTypeOps[TrimmedString, String]

    Permalink
    Definition Classes
    StringTypes
  26. object UpperCaseChar extends RefinedTypeOps[UpperCaseChar, Char]

    Permalink
    Definition Classes
    CharTypes
  27. object UserPortNumber extends RefinedTypeOps[UserPortNumber, Int]

    Permalink
    Definition Classes
    NetTypes
  28. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  29. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  32. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  34. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  36. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TimeTypes

Inherited from StringTypes

Inherited from NumericTypes

Inherited from NetTypes

Inherited from CharTypes

Inherited from AnyRef

Inherited from Any

Ungrouped