Interface WhitespaceTokenizer

All Superinterfaces:
SuggestTokenizer

public interface WhitespaceTokenizer extends SuggestTokenizer
WhitespaceTokenizer
Example to create an instance using the builder pattern

     WhitespaceTokenizer whitespaceTokenizer = WhitespaceTokenizer.builder()
             .build()
 
  • Field Details

  • Method Details

    • of

      static WhitespaceTokenizer of()
      factory method
      Returns:
      instance of WhitespaceTokenizer
    • of

      factory method to create a shallow copy WhitespaceTokenizer
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of WhitespaceTokenizer
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static WhitespaceTokenizerBuilder builder()
      builder factory method for WhitespaceTokenizer
      Returns:
      builder
    • builder

      create builder for WhitespaceTokenizer instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withWhitespaceTokenizer

      default <T> T withWhitespaceTokenizer(Function<WhitespaceTokenizer,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<WhitespaceTokenizer> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference