< prev index next >
src/java.desktop/share/classes/sun/font/ScriptRun.java
Print this page
*** 136,146 ****
/**
* Get the script code for the script of the current script run.
*
* @return the script code for the script of the current script run.
! * @see #Script
*/
public int getScriptCode() {
return scriptCode;
}
--- 136,146 ----
/**
* Get the script code for the script of the current script run.
*
* @return the script code for the script of the current script run.
! * @see Script
*/
public int getScriptCode() {
return scriptCode;
}
*** 272,282 ****
* a strong script, and the other is INHERITED or COMMON, it will compare equal.
*
* @param scriptOne one of the script codes.
* @param scriptTwo the other script code.
* @return <code>true</code> if the two scripts are the same.
! * @see com.ibm.icu.lang.Script
*/
private static boolean sameScript(int scriptOne, int scriptTwo) {
return scriptOne == scriptTwo || scriptOne <= Script.INHERITED || scriptTwo <= Script.INHERITED;
}
--- 272,282 ----
* a strong script, and the other is INHERITED or COMMON, it will compare equal.
*
* @param scriptOne one of the script codes.
* @param scriptTwo the other script code.
* @return <code>true</code> if the two scripts are the same.
! * @see Script
*/
private static boolean sameScript(int scriptOne, int scriptTwo) {
return scriptOne == scriptTwo || scriptOne <= Script.INHERITED || scriptTwo <= Script.INHERITED;
}
< prev index next >