com.vladium.util
Class WCMatcher.EndsWithMatcher

java.lang.Object
  extended by com.vladium.util.WCMatcher
      extended by com.vladium.util.WCMatcher.EndsWithMatcher
Enclosing class:
WCMatcher

private static final class WCMatcher.EndsWithMatcher
extends WCMatcher


Field Summary
private  java.lang.String m_suffix
           
private  char[] m_suffixChars
           
 
Constructor Summary
WCMatcher.EndsWithMatcher(char[] pattern, int patternLength)
           
 
Method Summary
 boolean matches(char[] chars)
           
 boolean matches(java.lang.String s)
           
 
Methods inherited from class com.vladium.util.WCMatcher
compile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_suffixChars

private final char[] m_suffixChars

m_suffix

private final java.lang.String m_suffix
Constructor Detail

WCMatcher.EndsWithMatcher

WCMatcher.EndsWithMatcher(char[] pattern,
                          int patternLength)
Method Detail

matches

public final boolean matches(java.lang.String s)
Specified by:
matches in class WCMatcher

matches

public final boolean matches(char[] chars)
Specified by:
matches in class WCMatcher