You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Creates an alphabet converter, for converting from the original alphabet,
113
-
* to the encoded alphabet, while leaving
114
-
* the characters in <em>doNotEncode</em> as they are (if possible).
112
+
* Creates an alphabet converter, for converting from the original alphabet, to the encoded alphabet, while leaving the characters in <em>doNotEncode</em>
113
+
* as they are (if possible).
115
114
*
116
-
* <p>Duplicate letters in either original or encoding will be ignored.</p>
115
+
* <p>
116
+
* Duplicate letters in either original or encoding will be ignored.
117
+
* </p>
117
118
*
118
-
* @param original an array of ints representing the original alphabet in
119
-
* code points
120
-
* @param encoding an array of ints representing the alphabet to be used for
121
-
* encoding, in code points
122
-
* @param doNotEncode an array of ints representing the chars to be encoded
123
-
* using the original alphabet - every char
124
-
* here must appear in both the previous params
125
-
* @return The AlphabetConverter
126
-
* @throws IllegalArgumentException if an AlphabetConverter cannot be
127
-
* constructed
119
+
* @param original an array of ints representing the original alphabet in code points.
120
+
* @param encoding an array of ints representing the alphabet to be used for encoding, in code points.
121
+
* @param doNotEncode an array of ints representing the chars to be encoded using the original alphabet - every char here must appear in both the previous
122
+
* params.
123
+
* @return The AlphabetConverter.
124
+
* @throws IllegalArgumentException if an AlphabetConverter cannot be constructed.
128
125
*/
129
126
publicstaticAlphabetConvertercreateConverter(
130
127
finalInteger[] original,
@@ -251,8 +248,8 @@ public static AlphabetConverter createConverterFromChars(
251
248
/**
252
249
* Creates a new converter from a map.
253
250
*
254
-
* @param originalToEncoded a map returned from getOriginalToEncoded()
255
-
* @return The reconstructed AlphabetConverter
251
+
* @param originalToEncoded a map returned from getOriginalToEncoded().
0 commit comments