public static int occurrencesOfCodePoint(String string, final int value)
    {
        return StringIterate.countCodePoint(string, new CodePointPredicate()
        {
            public boolean accept(int codePoint)
            {
                return value == codePoint;
            }
        });
    }
public static int occurrencesOfCodePoint ( String string , final int value ) { return StringIterate . countCodePoint ( string , new CodePointPredicate ( ) { public boolean accept ( int codePoint ) { return value == codePoint ; } } ) ; }
Count the number of occurrences of the specified int code point.

@since 7.0