Packages

object string extends StringInference

Module for String related predicates. Note that most of the predicates in collection also work for Strings by treating them as sequences of Chars.

Source
string.scala
Linear Supertypes
StringInference, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. string
  2. StringInference
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class EndsWith[S](s: S) extends Product with Serializable

    Predicate that checks if a String ends with the suffix S.

  2. type HexStringSpec = MatchesRegex[String("^(([0-9a-f]+)|([0-9A-F]+))$")]

    Predicate that checks if a String represents a hexadecimal number.

  3. final case class IPv4() extends Product with Serializable

    Predicate that checks if a String is a valid IPv4

  4. final case class IPv6() extends Product with Serializable

    Predicate that checks if a String is a valid IPv6

  5. final case class MatchesRegex[S](s: S) extends Product with Serializable

    Predicate that checks if a String matches the regular expression S.

  6. final case class Regex() extends Product with Serializable

    Predicate that checks if a String is a valid regular expression.

  7. final case class StartsWith[S](s: S) extends Product with Serializable

    Predicate that checks if a String starts with the prefix S.

  8. final case class Trimmed() extends Product with Serializable

    Predicate that checks if a String has no leading or trailing whitespace.

  9. final case class Uri() extends Product with Serializable

    Predicate that checks if a String is a valid URI.

  10. final case class Url() extends Product with Serializable

    Predicate that checks if a String is a valid URL.

  11. final case class Uuid() extends Product with Serializable

    Predicate that checks if a String is a valid UUID.

  12. final case class ValidBigDecimal() extends Product with Serializable

    Predicate that checks if a String is a parsable BigDecimal.

  13. final case class ValidBigInt() extends Product with Serializable

    Predicate that checks if a String is a parsable BigInt.

  14. final case class ValidByte() extends Product with Serializable

    Predicate that checks if a String is a parsable Byte.

  15. final case class ValidDouble() extends Product with Serializable

    Predicate that checks if a String is a parsable Double.

  16. final case class ValidFloat() extends Product with Serializable

    Predicate that checks if a String is a parsable Float.

  17. final case class ValidInt() extends Product with Serializable

    Predicate that checks if a String is a parsable Int.

  18. final case class ValidLong() extends Product with Serializable

    Predicate that checks if a String is a parsable Long.

  19. final case class ValidShort() extends Product with Serializable

    Predicate that checks if a String is a parsable Short.

  20. final case class XPath() extends Product with Serializable

    Predicate that checks if a String is a valid XPath expression.

  21. final case class Xml() extends Product with Serializable

    Predicate that checks if a String is well-formed XML.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. implicit def endsWithInference[A <: String, B <: String](implicit wa: Aux[A], wb: Aux[B]): ==>[EndsWith[A], EndsWith[B]]
    Definition Classes
    StringInference
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. implicit def startsWithInference[A <: String, B <: String](implicit wa: Aux[A], wb: Aux[B]): ==>[StartsWith[A], StartsWith[B]]
    Definition Classes
    StringInference
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  22. object EndsWith extends Serializable
  23. object IPv4 extends Serializable
  24. object IPv6 extends Serializable
  25. object MatchesRegex extends Serializable
  26. object Regex extends Serializable
  27. object StartsWith extends Serializable
  28. object Trimmed extends Serializable
  29. object Uri extends Serializable
  30. object Url extends Serializable
  31. object Uuid extends Serializable
  32. object ValidBigDecimal extends Serializable
  33. object ValidBigInt extends Serializable
  34. object ValidByte extends Serializable
  35. object ValidDouble extends Serializable
  36. object ValidFloat extends Serializable
  37. object ValidInt extends Serializable
  38. object ValidLong extends Serializable
  39. object ValidShort extends Serializable
  40. object XPath extends Serializable
  41. object Xml extends Serializable

Inherited from StringInference

Inherited from AnyRef

Inherited from Any

Ungrouped