public static final class PagedTopicDetails.Attributes.Rules.CollationRules extends Object implements PagedTopicDetails.Attributes.Rules
This specifies a set of collation rules that may be used with
String data. These rules are as specified by the Java
implementation of RuleBasedCollator
.
PagedTopicDetails.Attributes.Rules.CollationRules, PagedTopicDetails.Attributes.Rules.RuleType
NO_RULES
Constructor and Description |
---|
PagedTopicDetails.Attributes.Rules.CollationRules(String rules)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether the rules definition is equal to a supplied
object.
|
String |
getRules()
Returns the rules.
|
PagedTopicDetails.Attributes.Rules.RuleType |
getRuleType()
Returns the rule type.
|
int |
hashCode()
Returns a unique has code for the rules.
|
String |
toString()
Returns a string representation of the rules.
|
public PagedTopicDetails.Attributes.Rules.CollationRules(String rules) throws IllegalArgumentException
rules
- the collation order rulesIllegalArgumentException
- if rules
is nullpublic PagedTopicDetails.Attributes.Rules.RuleType getRuleType()
PagedTopicDetails.Attributes.Rules
getRuleType
in interface PagedTopicDetails.Attributes.Rules
public String getRules()
public int hashCode()
PagedTopicDetails.Attributes.Rules
hashCode
in interface PagedTopicDetails.Attributes.Rules
hashCode
in class Object
public boolean equals(Object obj)
PagedTopicDetails.Attributes.Rules
equals
in interface PagedTopicDetails.Attributes.Rules
equals
in class Object
obj
- the object to comparepublic String toString()
PagedTopicDetails.Attributes.Rules
toString
in interface PagedTopicDetails.Attributes.Rules
toString
in class Object
Copyright © 2016 Push Technology Ltd. All Rights Reserved.