Class SpaceMapper.FromPredicate

  • All Implemented Interfaces:
    CharMapper
    Enclosing class:
    SpaceMapper

    private static class SpaceMapper.FromPredicate
    extends java.lang.Object
    implements CharMapper
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char map​(char c)
      Map characters
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • FromPredicate

        FromPredicate​(@NotNull
                      @NotNull CharPredicate predicate)
    • Method Detail

      • map

        public char map​(char c)
        Description copied from interface: CharMapper
        Map characters
        Specified by:
        map in interface CharMapper
        Parameters:
        c - code point
        Returns:
        mapped character