DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | Private Attributes | List of all members
Deveel.Data.Text.SystemCollatorFactory.SystemCollator Class Reference
Inheritance diagram for Deveel.Data.Text.SystemCollatorFactory.SystemCollator:

Public Member Functions

 SystemCollator (CultureInfo locale)
 
int Compare (string s1, string s2)
 
bool Equals (string s1, string s2)
 
CollationKey GetCollationKey (string source)
 
int Compare (object x, object y)
 
object Clone ()
 

Properties

CollationDecomposition Decomposition [get]
 
CollationStrength Strength [get]
 

Private Attributes

CultureInfo locale
 

Detailed Description

Definition at line 28 of file SystemCollatorFactory.cs.

Constructor & Destructor Documentation

Deveel.Data.Text.SystemCollatorFactory.SystemCollator.SystemCollator ( CultureInfo  locale)
inline

Definition at line 30 of file SystemCollatorFactory.cs.

Member Function Documentation

object Deveel.Data.Text.SystemCollatorFactory.SystemCollator.Clone ( )
inline

Definition at line 66 of file SystemCollatorFactory.cs.

int Deveel.Data.Text.SystemCollatorFactory.SystemCollator.Compare ( string  s1,
string  s2 
)
inline

Definition at line 50 of file SystemCollatorFactory.cs.

50  {
51  return locale.CompareInfo.Compare(s1, s2);
52  }
int Deveel.Data.Text.SystemCollatorFactory.SystemCollator.Compare ( object  x,
object  y 
)
inline

Definition at line 62 of file SystemCollatorFactory.cs.

62  {
63  return Compare(x.ToString(), y.ToString());
64  }
bool Deveel.Data.Text.SystemCollatorFactory.SystemCollator.Equals ( string  s1,
string  s2 
)
inline

Definition at line 54 of file SystemCollatorFactory.cs.

54  {
55  return String.Compare(s1, s2, false, locale) == 0;
56  }
A long string in the system.
CollationKey Deveel.Data.Text.SystemCollatorFactory.SystemCollator.GetCollationKey ( string  source)
inline

Definition at line 58 of file SystemCollatorFactory.cs.

58  {
59  throw new NotSupportedException();
60  }

Member Data Documentation

CultureInfo Deveel.Data.Text.SystemCollatorFactory.SystemCollator.locale
private

Definition at line 36 of file SystemCollatorFactory.cs.

Property Documentation

CollationDecomposition Deveel.Data.Text.SystemCollatorFactory.SystemCollator.Decomposition
get

Definition at line 40 of file SystemCollatorFactory.cs.

CollationStrength Deveel.Data.Text.SystemCollatorFactory.SystemCollator.Strength
get

Definition at line 44 of file SystemCollatorFactory.cs.


The documentation for this class was generated from the following file: