Class SimilarityCharacterInput
java.lang.Object
org.apache.commons.text.similarity.SimilarityCharacterInput
- All Implemented Interfaces:
SimilarityInput<Character>
Scores the similarity between two
CharSequences.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cs
Source.
-
-
Constructor Details
-
SimilarityCharacterInput
SimilarityCharacterInput(CharSequence cs)
-
-
Method Details
-
at
Description copied from interface:SimilarityInputGets the element in the input at the given 0-based index.- Specified by:
atin interfaceSimilarityInput<Character>- Parameters:
index- a 0-based index.- Returns:
- the element in the input at the given 0-based index.
-
equals
-
hashCode
-
length
public int length()Description copied from interface:SimilarityInputGets the length of the input.- Specified by:
lengthin interfaceSimilarityInput<Character>- Returns:
- the length of the input.
-
toString
-