Interface PrefixSearchable

    • Method Detail

      • isPrefixMatch

        boolean isPrefixMatch​(HString hString)
        Check if a prefix matches the given HString
        Parameters:
        hString - the HString to check for a prefix match
        Returns:
        True if a prefix matches, False otherwise
      • isPrefixMatch

        boolean isPrefixMatch​(String hString)
        Check if a prefix matches the given String
        Parameters:
        hString - the String to check for a prefix match
        Returns:
        True if a prefix matches, False otherwise
      • prefixes

        Set<String> prefixes​(String string)
        Gets the prefixes that match the given string
        Parameters:
        string - the string
        Returns:
        the set of matching prefixes