Interface CodePointMap.ValueFilter

Enclosing class:
CodePointMap

public static interface CodePointMap.ValueFilter
Callback function interface: Modifies a map value. Optionally called by getRange(). The modified value will be returned by the getRange() function.

Can be used to ignore some of the value bits, make a filter for one of several values, return a value index computed from the map value, etc.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    apply(int value)
    Modifies the map value.
  • Method Details

    • apply

      int apply(int value)
      Modifies the map value.
      Parameters:
      value - map value
      Returns:
      modified value