litesoft
@ 939
litesoft / trunk / Java / core / Anywhere / src / org / litesoft / commonfoundation / stringmatching / EqualsStringMatcher.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt package org.litesoft.commonfoundation.stringmatching; public class EqualsStringMatcher extends AbstractSingleStringMatcher { // Package Friendly EqualsStringMatcher( int pMinLength, boolean pIgnoreCase, String pToMatch ) { super( pMinLength, pIgnoreCase, pToMatch ); } @Override protected boolean LLmatches( String pInQuestion ) { return mToMatch.equals( pInQuestion ); } @Override public String toString() { return "Equals( '" + mToMatch + "' )"; } } |