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

protected final Pattern mPattern

Public methods

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int

matcher

public Matcher matcher (String string)

Parameters
string String

Returns
Matcher

toString

public String toString ()

Returns
String