RegexTrie.CompPattern

static class RegexTrie.CompPattern
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.RegexTrie.CompPattern


Patterns aren't comparable by default, which prevents you from retrieving them from a HashTable. This is a simple stub class that makes a Pattern with a working equals(Object) method.

Summary

Fields

protected final Pattern mPattern

Public methods

boolean equals(Object other)
int hashCode()
Matcher matcher(String string)
String toString()

Fields

mPattern

Pattern mPattern

Public methods

equals

boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

int hashCode ()

Returns
int

matcher

Matcher matcher (String string)

Parameters
string String

Returns
Matcher

toString

String toString ()

Returns
String