abstract class NumberMatcher[T] extends PathMatcher1[T]
- Alphabetic
- By Inheritance
- NumberMatcher
- PathMatcher
- Function1
- AnyRef
- Any
- by PathMatcher1Ops
- by EnhancedPathMatcher
- by EnhancedPathMatcher
- by PathMatcher1Ops
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new NumberMatcher(max: T, base: T)(implicit x: Integral[T])
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to any2stringadd[NumberMatcher[T]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (NumberMatcher[T], B)
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to ArrowAssoc[NumberMatcher[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
def
/[R](other: PathMatcher[R])(implicit join: Join[(T), R]): PathMatcher[Out]
Alias for slash.
Alias for slash.
- Definition Classes
- PathMatcher
-
def
/: PathMatcher[(T)]
Alias for slash.
Alias for slash.
- Definition Classes
- PathMatcher
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
andThen[A](g: (Matching[(T)]) ⇒ A): (Path) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
append[R](other: PathMatcher[R])(implicit join: Join[(T), R]): PathMatcher[Out]
- Definition Classes
- PathMatcher
-
def
apply(path: Path): Matching[(T)]
- Definition Classes
- NumberMatcher → Function1
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compose[A](g: (A) ⇒ Path): (A) ⇒ Matching[(T)]
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
ensuring(cond: (NumberMatcher[T]) ⇒ Boolean, msg: ⇒ Any): NumberMatcher[T]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to Ensuring[NumberMatcher[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (NumberMatcher[T]) ⇒ Boolean): NumberMatcher[T]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to Ensuring[NumberMatcher[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): NumberMatcher[T]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to Ensuring[NumberMatcher[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): NumberMatcher[T]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to Ensuring[NumberMatcher[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
val
ev: Tuple[(T)]
- Definition Classes
- PathMatcher
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromDecimalChar(c: Char): T
- def fromHexChar(c: Char): T
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxDivBase: T
- val minusOne: T
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
or[R >: (T)](other: PathMatcher[_ <: R])(implicit arg0: Tuple[R]): PathMatcher[R]
- Definition Classes
- PathMatcher
-
def
repeat(min: Int, max: Int, separator: PathMatcher0 = PathMatchers.Neutral)(implicit lift: Lift[(T), List]): PathMatcher[Out]
Turns this
PathMatcherinto one that matches a number of times (with the given separator) and potentially extracts aListof the underlying matcher's extractions.Turns this
PathMatcherinto one that matches a number of times (with the given separator) and potentially extracts aListof the underlying matcher's extractions. If less thanminapplications of the underlying matcher have succeeded the produced matcher fails, otherwise it matches up to the givenmaxnumber of applications. Note that it won't fail even if more thanmaxapplications 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 type then `matcher.repeat(...)` is of type `PathMatcher0` `PathMatcher0` `PathMatcher1[T]` `PathMatcher1[List[T]` `PathMatcher[L :Tuple]` `PathMatcher[List[L]]` - Definition Classes
- PathMatcher
-
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
-
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
-
def
slash[R](other: PathMatcher[R])(implicit join: Join[(T), R]): PathMatcher[Out]
- Definition Classes
- PathMatcher
-
def
slash: PathMatcher[(T)]
- Definition Classes
- PathMatcher
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tflatMap[R](f: ((T)) ⇒ Option[R])(implicit arg0: Tuple[R]): PathMatcher[R]
- Definition Classes
- PathMatcher
-
def
tmap[R](f: ((T)) ⇒ R)(implicit arg0: Tuple[R]): PathMatcher[R]
- Definition Classes
- PathMatcher
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any
-
def
transform[R](f: (Matching[(T)]) ⇒ Matching[R])(implicit arg0: Tuple[R]): PathMatcher[R]
- Definition Classes
- PathMatcher
-
def
unary_!: PathMatcher0
Operator alternative to PathMatchers.not
Operator alternative to PathMatchers.not
- Definition Classes
- PathMatcher
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
|[R >: (T)](other: PathMatcher[_ <: R])(implicit arg0: Tuple[R]): PathMatcher[R]
Alias for or.
Alias for or.
- Definition Classes
- PathMatcher
-
def
~[R](other: PathMatcher[R])(implicit join: Join[(T), R]): PathMatcher[Out]
Alias for append.
Alias for append.
- Definition Classes
- PathMatcher
-
def
→[B](y: B): (NumberMatcher[T], B)
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to ArrowAssoc[NumberMatcher[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Shadowed Implicit Value Members
-
def
?(implicit lift: Lift[(T), Option]): PathMatcher[Out]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to EnhancedPathMatcher[(T)] performed by method EnhancedPathMatcher in org.apache.pekko.http.scaladsl.server.PathMatcher.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(numberMatcher: EnhancedPathMatcher[(T)]).?(lift)
- Definition Classes
- EnhancedPathMatcher
-
def
?(implicit lift: Lift[(T), Option]): PathMatcher[Out]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to EnhancedPathMatcher[(T)] performed by method EnhancedPathMatcher in org.apache.pekko.http.scaladsl.server.PathMatcher.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(numberMatcher: EnhancedPathMatcher[(T)]).?(lift)
- Definition Classes
- EnhancedPathMatcher
-
def
flatMap[R](f: (T) ⇒ Option[R]): PathMatcher1[R]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to PathMatcher1Ops[T] performed by method PathMatcher1Ops in org.apache.pekko.http.scaladsl.server.PathMatcher.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(numberMatcher: PathMatcher1Ops[T]).flatMap(f)
- Definition Classes
- PathMatcher1Ops
-
def
flatMap[R](f: (T) ⇒ Option[R]): PathMatcher1[R]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to PathMatcher1Ops[T] performed by method PathMatcher1Ops in org.apache.pekko.http.scaladsl.server.PathMatcher.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(numberMatcher: PathMatcher1Ops[T]).flatMap(f)
- Definition Classes
- PathMatcher1Ops
-
def
map[R](f: (T) ⇒ R): PathMatcher1[R]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to PathMatcher1Ops[T] performed by method PathMatcher1Ops in org.apache.pekko.http.scaladsl.server.PathMatcher.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(numberMatcher: PathMatcher1Ops[T]).map(f)
- Definition Classes
- PathMatcher1Ops
-
def
map[R](f: (T) ⇒ R): PathMatcher1[R]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to PathMatcher1Ops[T] performed by method PathMatcher1Ops in org.apache.pekko.http.scaladsl.server.PathMatcher.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(numberMatcher: PathMatcher1Ops[T]).map(f)
- Definition Classes
- PathMatcher1Ops
-
def
optional(implicit lift: Lift[(T), Option]): PathMatcher[Out]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to EnhancedPathMatcher[(T)] performed by method EnhancedPathMatcher in org.apache.pekko.http.scaladsl.server.PathMatcher.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(numberMatcher: EnhancedPathMatcher[(T)]).optional(lift)
- Definition Classes
- EnhancedPathMatcher
-
def
optional(implicit lift: Lift[(T), Option]): PathMatcher[Out]
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to EnhancedPathMatcher[(T)] performed by method EnhancedPathMatcher in org.apache.pekko.http.scaladsl.server.PathMatcher.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(numberMatcher: EnhancedPathMatcher[(T)]).optional(lift)
- Definition Classes
- EnhancedPathMatcher
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from NumberMatcher[T] to StringFormat[NumberMatcher[T]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.