Top Description Inners Fields Constructors Methods
com.google.common.base

pack-priv final Class JdkPattern

extends CommonPattern
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@ElementTypesAreNonnullByDefault
@GwtIncompatible
Imports
com.google.common.annotations.GwtIncompatible, java.io.Serializable, java.util.regex.Matcher, .Pattern

A regex pattern implementation which is backed by the Pattern.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private final Pattern
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int
public CommonMatcher
public String
public String
toString()

Implements abstract com.google.common.base.CommonPattern.toString.

Returns a string representation of the object.
Inherited from com.google.common.base.CommonPattern:
compileisPcreLike

Field Detail

patternback to summary
private final Pattern pattern
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

JdkPatternback to summary
pack-priv JdkPattern(Pattern pattern)

Method Detail

flagsback to summary
public int flags()

Implements abstract com.google.common.base.CommonPattern.flags.

Annotations
@Override
matcherback to summary
public CommonMatcher matcher(CharSequence t)

Implements abstract com.google.common.base.CommonPattern.matcher.

Annotations
@Override
patternback to summary
public String pattern()

Implements abstract com.google.common.base.CommonPattern.pattern.

Annotations
@Override
toStringback to summary
public String toString()

Implements abstract com.google.common.base.CommonPattern.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override
com.google.common.base back to summary

private final Class JdkPattern.JdkMatcher

extends CommonMatcher
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final Matcher

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int
public boolean
public boolean
find(int index)

Implements abstract com.google.common.base.CommonMatcher.find.

public boolean
public String
public int

Field Detail

matcherback to summary
pack-priv final Matcher matcher

Constructor Detail

JdkMatcherback to summary
pack-priv JdkMatcher(Matcher matcher)

Method Detail

endback to summary
public int end()

Implements abstract com.google.common.base.CommonMatcher.end.

Annotations
@Override
findback to summary
public boolean find()

Implements abstract com.google.common.base.CommonMatcher.find.

Annotations
@Override
findback to summary
public boolean find(int index)

Implements abstract com.google.common.base.CommonMatcher.find.

Annotations
@Override
matchesback to summary
public boolean matches()

Implements abstract com.google.common.base.CommonMatcher.matches.

Annotations
@Override
replaceAllback to summary
public String replaceAll(String replacement)

Implements abstract com.google.common.base.CommonMatcher.replaceAll.

Annotations
@Override
startback to summary
public int start()

Implements abstract com.google.common.base.CommonMatcher.start.

Annotations
@Override