You can implement a SimilarityInput on a domain object instead of CharSequence where implementing CharSequence does not make sense.
| Modifier and Type | Method and Description |
|---|---|
| public E | Returns: the element in the input at the given 0-based index.a 0-based index. index)Gets the element in the input at the given 0-based index. |
| public static SimilarityInput | Returns: a new input.input character sequence. cs)Creates a new input for a |
| public static < The type of similarity score unit. T> SimilarityInput | Returns: a new input.character sequence or similarity input. input)Creates a new input for a |
| public int |
| at | back to summary |
|---|---|
| public E at(int index) Gets the element in the input at the given 0-based index.
| |
| input | back to summary |
|---|---|
| public static SimilarityInput Creates a new input for a
| |
| input | back to summary |
|---|---|
| public static <T> SimilarityInput Creates a new input for a
| |
| length | back to summary |
|---|---|
| public int length() Gets the length of the input.
| |