CharacterPredicate (Apache Commons Text 1.13.0 API)
Description: declaration: package: org.apache.commons.text, interface: CharacterPredicate

Package org.apache.commons.text

# Interface CharacterPredicate

All Known Implementing Classes:
  `CharacterPredicates`

public interface CharacterPredicate
A predicate for selecting code points. Implementations of this interface must be thread safe.

Since:
  1.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `test(int codePoint)`
  Tests the code point with this predicate.

- ## Method Details

  - ### test

    boolean test(int codePoint)
    Tests the code point with this predicate.
    Parameters:
      `codePoint` - the code point to test
    Returns:
      `true` if the code point matches the predicate, `false` otherwise
    Since:
      1.0