I need a comparator in java which has the same semantics as the sql \'like\' operator. For example:
myComparator.like(\"digital\",\"%ital%\"); myComparator.l
http://josql.sourceforge.net/ has what you need. Look for org.josql.expressions.LikeExpression.