public class Pattern$ extends Object
Modifier and Type | Field and Description |
---|---|
static Pattern$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Pattern$() |
Modifier and Type | Method and Description |
---|---|
<T,F extends T> |
apply(Pattern<T,F> jPattern)
Constructs a new Pattern by wrapping a given Java API Pattern
|
<X> Pattern<X,X> |
begin(String name)
Starts a new pattern sequence.
|
public static final Pattern$ MODULE$
public <T,F extends T> Pattern<T,F> apply(Pattern<T,F> jPattern)
jPattern
- Underlying Java API Pattern.public <X> Pattern<X,X> begin(String name)
name
- The name of starting pattern of the new pattern sequenceCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.