< prev index next >
src/java.base/share/classes/java/text/RBCollationTables.java
Print this page
rev 58552 : [mq]: 8241727-Typos-empty-lines-in-javadoc-inconsistent-indents-etc
*** 1,7 ****
/*
! * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 181,199 ****
boolean usedInContractSeq(int c) {
return contractFlags.get(c) == 1;
}
/**
! * Return the maximum length of any expansion sequences that end
! * with the specified comparison order.
! *
! * @param order a collation order returned by previous or next.
! * @return the maximum length of any expansion seuences ending
! * with the specified order.
! *
! * @see CollationElementIterator#getMaxExpansion
! */
int getMaxExpansion(int order) {
int result = 1;
if (expandTable != null) {
// Right now this does a linear search through the entire
--- 181,199 ----
boolean usedInContractSeq(int c) {
return contractFlags.get(c) == 1;
}
/**
! * Return the maximum length of any expansion sequences that end
! * with the specified comparison order.
! *
! * @param order a collation order returned by previous or next.
! * @return the maximum length of any expansion seuences ending
! * with the specified order.
! *
! * @see CollationElementIterator#getMaxExpansion
! */
int getMaxExpansion(int order) {
int result = 1;
if (expandTable != null) {
// Right now this does a linear search through the entire
< prev index next >