question: public static long countSubstr ( final String value , final String subStr , final boolean caseSensitive , boolean allowOverlapping ) { validate ( value , NULL_STRING_PREDICATE , NULL_STRING_MSG_SUPPLIER ) ; return countSubstr ( caseSensitive ? value : value . toLowerCase ( ) , caseSensitive ? subStr : subStr . toLowerCase ( ) , allowOverlapping , 0L ) ; }
target:  Count the number of times substr appears in value