/** * Returns the collation rules of this collator. These {@code rules} can be * fed into the {@code RuleBasedCollator(String)} constructor. * <p> * Note that the {@code rules} are actually interpreted as a delta to the * standard Unicode Collation Algorithm (UCA). Hence, an empty {@code rules} * string results in the default UCA rules being applied. This differs * slightly from other implementations which work with full {@code rules} * specifications and may result in different behavior. * * @return the collation rules. */ public String getRules() { return icuColl.getRules(); }
@Override public int hashCode() { return icuColl.getRules().hashCode(); }
@Override public boolean equals(Object object) { if (object == this) { return true; } if (!(object instanceof RuleBasedCollatorICU)) { return false; } RuleBasedCollatorICU rhs = (RuleBasedCollatorICU) object; return getRules().equals(rhs.getRules()) && getStrength() == rhs.getStrength() && getDecomposition() == rhs.getDecomposition(); }
/** * Returns the collation rules of this collator. These {@code rules} can be * fed into the {@code RuleBasedCollator(String)} constructor. * <p> * Note that the {@code rules} are actually interpreted as a delta to the * standard Unicode Collation Algorithm (UCA). Hence, an empty {@code rules} * string results in the default UCA rules being applied. This differs * slightly from other implementations which work with full {@code rules} * specifications and may result in different behavior. * * @return the collation rules. */ public String getRules() { return icuColl.getRules(); }
/** * Returns the collation rules of this collator. These {@code rules} can be * fed into the {@code RuleBasedCollator(String)} constructor. * <p> * Note that the {@code rules} are actually interpreted as a delta to the * standard Unicode Collation Algorithm (UCA). Hence, an empty {@code rules} * string results in the default UCA rules being applied. This differs * slightly from other implementations which work with full {@code rules} * specifications and may result in different behavior. * * @return the collation rules. */ public String getRules() { return icuColl.getRules(); }
/** * Returns the collation rules of this collator. These {@code rules} can be * fed into the {@code RuleBasedCollator(String)} constructor. * <p> * Note that the {@code rules} are actually interpreted as a delta to the * standard Unicode Collation Algorithm (UCA). Hence, an empty {@code rules} * string results in the default UCA rules being applied. This differs * slightly from other implementations which work with full {@code rules} * specifications and may result in different behavior. * * @return the collation rules. */ public String getRules() { return icuColl.getRules(); }
/** * Returns the collation rules of this collator. These {@code rules} can be * fed into the {@code RuleBasedCollator(String)} constructor. * <p> * Note that the {@code rules} are actually interpreted as a delta to the * standard Unicode Collation Algorithm (UCA). Hence, an empty {@code rules} * string results in the default UCA rules being applied. This differs * slightly from other implementations which work with full {@code rules} * specifications and may result in different behavior. * * @return the collation rules. */ public String getRules() { return icuColl.getRules(); }
/** * Returns the collation rules of this collator. These {@code rules} can be * fed into the {@code RuleBasedCollator(String)} constructor. * <p> * Note that the {@code rules} are actually interpreted as a delta to the * standard Unicode Collation Algorithm (UCA). Hence, an empty {@code rules} * string results in the default UCA rules being applied. This differs * slightly from other implementations which work with full {@code rules} * specifications and may result in different behavior. * * @return the collation rules. */ public String getRules() { return icuColl.getRules(); }
@Override public int hashCode() { return icuColl.getRules().hashCode(); }
@Override public int hashCode() { return icuColl.getRules().hashCode(); }
@Override public int hashCode() { return icuColl.getRules().hashCode(); }
@Override public int hashCode() { return icuColl.getRules().hashCode(); }
@Override public int hashCode() { return icuColl.getRules().hashCode(); }
@Override public int hashCode() { return icuColl.getRules().hashCode(); }
@Override public boolean equals(Object object) { if (object == this) { return true; } if (!(object instanceof RuleBasedCollatorICU)) { return false; } RuleBasedCollatorICU rhs = (RuleBasedCollatorICU) object; return getRules().equals(rhs.getRules()) && getStrength() == rhs.getStrength() && getDecomposition() == rhs.getDecomposition(); }
@Override public boolean equals(Object object) { if (object == this) { return true; } if (!(object instanceof RuleBasedCollatorICU)) { return false; } RuleBasedCollatorICU rhs = (RuleBasedCollatorICU) object; return getRules().equals(rhs.getRules()) && getStrength() == rhs.getStrength() && getDecomposition() == rhs.getDecomposition(); }
@Override public boolean equals(Object object) { if (object == this) { return true; } if (!(object instanceof RuleBasedCollatorICU)) { return false; } RuleBasedCollatorICU rhs = (RuleBasedCollatorICU) object; return getRules().equals(rhs.getRules()) && getStrength() == rhs.getStrength() && getDecomposition() == rhs.getDecomposition(); }
@Override public boolean equals(Object object) { if (object == this) { return true; } if (!(object instanceof RuleBasedCollatorICU)) { return false; } RuleBasedCollatorICU rhs = (RuleBasedCollatorICU) object; return getRules().equals(rhs.getRules()) && getStrength() == rhs.getStrength() && getDecomposition() == rhs.getDecomposition(); }
@Override public boolean equals(Object object) { if (object == this) { return true; } if (!(object instanceof RuleBasedCollatorICU)) { return false; } RuleBasedCollatorICU rhs = (RuleBasedCollatorICU) object; return getRules().equals(rhs.getRules()) && getStrength() == rhs.getStrength() && getDecomposition() == rhs.getDecomposition(); }
@Override public boolean equals(Object object) { if (object == this) { return true; } if (!(object instanceof RuleBasedCollatorICU)) { return false; } RuleBasedCollatorICU rhs = (RuleBasedCollatorICU) object; return getRules().equals(rhs.getRules()) && getStrength() == rhs.getStrength() && getDecomposition() == rhs.getDecomposition(); }