C# Class NetHadoop.ListViewColumnSorter

继承自IComparer
Inheritance: System.Collections.IComparer
Afficher le fichier Open project: gudao/NetHadoop

Méthodes publiques

Méthode Description
Compare ( object x, object y ) : int

重写IComparer接口.

IsIP ( String ip ) : bool

判断是否为正确的IP地址,IP范围(0.0.0.0~255.255.255)

IsSize ( string size ) : bool
ListViewColumnSorter ( ) : System

构造函数

Private Methods

Méthode Description
CompareInt ( int x, int y ) : int

比较两个数字的大小

CompareIp ( string ipx, string ipy ) : int

比较两个IP地址的大小

CompareLong ( double x, double y ) : int
RecoverSize ( string sSize ) : double

Method Details

Compare() public méthode

重写IComparer接口.
public Compare ( object x, object y ) : int
x object 要比较的第一个对象
y object 要比较的第二个对象
Résultat int

IsIP() public méthode

判断是否为正确的IP地址,IP范围(0.0.0.0~255.255.255)
public IsIP ( String ip ) : bool
ip String 需验证的IP地址
Résultat bool

IsSize() public méthode

public IsSize ( string size ) : bool
size string
Résultat bool

ListViewColumnSorter() public méthode

构造函数
public ListViewColumnSorter ( ) : System
Résultat System