Smdn.Utils : Smdn.Utils Namespace

OrderByLengthComparer Class

Comparer`1<string>を継承し、文字列の長さに従って並べ替えるようにオーバーライドしたクラスです。

public class OrderByLengthComparer : Comparer<string>

See Also

Comparer`1

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Smdn.Utils
Assembly: Smdn.Utils (in Smdn.Utils.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from Comparer<string>.

Public Constructors

Documentation for this section has not yet been entered.

Public Methods

override
Compare (string, string) : int
二つの文字列の長さを比較した結果を返します。

Member Details

OrderByLengthComparer Constructor

Documentation for this section has not yet been entered.

public OrderByLengthComparer ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Smdn.Utils
Assembly: Smdn.Utils (in Smdn.Utils.dll)
Assembly Versions: 1.0.0.0

Compare Method

二つの文字列の長さを比較した結果を返します。

public override int Compare (string x, string y)

Parameters

x
Documentation for this section has not yet been entered.
y
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Smdn.Utils
Assembly: Smdn.Utils (in Smdn.Utils.dll)
Assembly Versions: 1.0.0.0