Back to project page sloop.
The source code is released under:
NON-LICENSE The Sloop data-browser source code is hereby released into the Public Domain. The original author, David Megginson, Megginson Technologies Ltd., and Acclar Open Ltd. provide no warranty:...
If you think the Android project sloop listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.megginson.sloop.model.impl; //from ww w . ja va 2 s .c o m import android.annotation.SuppressLint; import com.megginson.sloop.model.ValueFilter; /** * Value filter to test case-insensitive string equality. * * @author David Megginson */ @SuppressLint("DefaultLocale") public class EqualsStringFilter implements ValueFilter { private String mValue; public EqualsStringFilter(String value) { mValue = value.toLowerCase(); } @Override public boolean isMatch(String value) { return mValue.equals(value.toLowerCase()); } public String toString() { return "=" + mValue; } }