com.espertech.esper.type
Class StringPatternSetLike

java.lang.Object
  extended by com.espertech.esper.type.StringPatternSetLike
All Implemented Interfaces:
StringPatternSet, java.io.Serializable

public class StringPatternSetLike
extends java.lang.Object
implements StringPatternSet

See Also:
Serialized Form

Constructor Summary
StringPatternSetLike(java.lang.String likeString)
          Ctor.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean match(java.lang.String stringToMatch)
          Match the string returning true for a match, using SQL-like semantics.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringPatternSetLike

public StringPatternSetLike(java.lang.String likeString)
Ctor.

Parameters:
likeString - pattern to match
Method Detail

match

public boolean match(java.lang.String stringToMatch)
Match the string returning true for a match, using SQL-like semantics.

Specified by:
match in interface StringPatternSet
Parameters:
stringToMatch - string to match
Returns:
true for match

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com