Packages

abstract class NumberMatcher[T] extends PathMatcher1[T]

Source
PathMatcher.scala
Linear Supertypes
PathMatcher[(T)], (Path) => Matching[(T)], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NumberMatcher
  2. PathMatcher
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NumberMatcher(max: T, base: T)(implicit x: Integral[T])

Abstract Value Members

  1. abstract def fromChar(c: Char): T

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def /[R](other: PathMatcher[R])(implicit join: Join[(T), R]): PathMatcher[Out]

    Alias for slash.

    Alias for slash.

    Definition Classes
    PathMatcher
  4. def /: PathMatcher[(T)]

    Alias for slash.

    Alias for slash.

    Definition Classes
    PathMatcher
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def andThen[A](g: (Matching[(T)]) => A): (Path) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def append[R](other: PathMatcher[R])(implicit join: Join[(T), R]): PathMatcher[Out]
    Definition Classes
    PathMatcher
  8. def apply(path: Path): Matching[(T)]
    Definition Classes
    NumberMatcher → Function1
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. def compose[A](g: (A) => Path): (A) => Matching[(T)]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. implicit val ev: Tuple[(T)]
    Definition Classes
    PathMatcher
  15. def fromDecimalChar(c: Char): T
  16. def fromHexChar(c: Char): T
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val maxDivBase: T
  21. val minusOne: T
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def or[R >: (T)](other: PathMatcher[_ <: R])(implicit arg0: Tuple[R]): PathMatcher[R]
    Definition Classes
    PathMatcher
  26. def repeat(min: Int, max: Int, separator: PathMatcher0 = PathMatchers.Neutral)(implicit lift: Lift[(T), List]): PathMatcher[Out]

    Turns this PathMatcher into one that matches a number of times (with the given separator) and potentially extracts a List of the underlying matcher's extractions.

    Turns this PathMatcher into one that matches a number of times (with the given separator) and potentially extracts a List of the underlying matcher's extractions. If less than min applications of the underlying matcher have succeeded the produced matcher fails, otherwise it matches up to the given max number of applications. Note that it won't fail even if more than max applications could succeed! The "surplus" path elements will simply be left unmatched.

    The result type depends on the type of the underlying matcher:

    If a `matcher` is of typethen `matcher.repeat(...)` is of type
    `PathMatcher0``PathMatcher0`
    `PathMatcher1[T]``PathMatcher1[List[T]`
    `PathMatcher[L :Tuple]``PathMatcher[List[L]]`

    Definition Classes
    PathMatcher
  27. def repeat(count: Int, separator: PathMatcher0)(implicit lift: Lift[(T), List]): PathMatcher[Out]

    Same as repeat(min = count, max = count, separator = separator).

    Same as repeat(min = count, max = count, separator = separator).

    Definition Classes
    PathMatcher
  28. def repeat(count: Int)(implicit lift: Lift[(T), List]): PathMatcher[Out]

    Same as repeat(min = count, max = count).

    Same as repeat(min = count, max = count).

    Definition Classes
    PathMatcher
  29. def slash[R](other: PathMatcher[R])(implicit join: Join[(T), R]): PathMatcher[Out]
    Definition Classes
    PathMatcher
  30. def slash: PathMatcher[(T)]
    Definition Classes
    PathMatcher
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def tflatMap[R](f: ((T)) => Option[R])(implicit arg0: Tuple[R]): PathMatcher[R]
    Definition Classes
    PathMatcher
  33. def tmap[R](f: ((T)) => R)(implicit arg0: Tuple[R]): PathMatcher[R]
    Definition Classes
    PathMatcher
  34. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  35. def transform[R](f: (Matching[(T)]) => Matching[R])(implicit arg0: Tuple[R]): PathMatcher[R]
    Definition Classes
    PathMatcher
  36. def unary_!: PathMatcher0

    Operator alternative to PathMatchers.not

    Operator alternative to PathMatchers.not

    Definition Classes
    PathMatcher
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. def |[R >: (T)](other: PathMatcher[_ <: R])(implicit arg0: Tuple[R]): PathMatcher[R]

    Alias for or.

    Alias for or.

    Definition Classes
    PathMatcher
  41. def ~[R](other: PathMatcher[R])(implicit join: Join[(T), R]): PathMatcher[Out]

    Alias for append.

    Alias for append.

    Definition Classes
    PathMatcher

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from PathMatcher[(T)]

Inherited from (Path) => Matching[(T)]

Inherited from AnyRef

Inherited from Any

Ungrouped