Top Description Constructors Methods
com.google.common.base

pack-priv abstract Class CommonPattern

extends Object
Class Inheritance
Known Direct Subclasses
com.google.common.base.JdkPattern
Annotations
@GwtCompatible
@ElementTypesAreNonnullByDefault
Imports
com.google.common.annotations.GwtCompatible

The subset of the java.util.regex.Pattern API which is used by this package, and also shared with the re2j library. For internal use only. Please refer to the Pattern javadoc for details.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static CommonPattern
compile(String pattern)

public abstract int
public static boolean
public abstract CommonMatcher
public abstract String
public abstract String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Constructor Detail

CommonPatternback to summary
pack-priv CommonPattern()

Method Detail

compileback to summary
public static CommonPattern compile(String pattern)
flagsback to summary
public abstract int flags()
isPcreLikeback to summary
public static boolean isPcreLike()
matcherback to summary
public abstract CommonMatcher matcher(CharSequence t)
patternback to summary
public abstract String pattern()
toStringback to summary
public abstract String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override