C# 클래스 Lucene.Net.Facet.LabelAndValue

Single label and its value, usually contained in a FacetResult.
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object other ) : bool
GetHashCode ( ) : int
LabelAndValue ( string label, float value ) : System

Constructor for float value. Makes the ToString() method print the value as a float with at least 1 number after the decimal.

LabelAndValue ( string label, int value ) : System

Constructor for int value. Makes the ToString() method print the value as an int with no decimal.

ToString ( ) : string

메소드 상세

Equals() 공개 메소드

public Equals ( object other ) : bool
other object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

LabelAndValue() 공개 메소드

Constructor for float value. Makes the ToString() method print the value as a float with at least 1 number after the decimal.
public LabelAndValue ( string label, float value ) : System
label string
value float
리턴 System

LabelAndValue() 공개 메소드

Constructor for int value. Makes the ToString() method print the value as an int with no decimal.
public LabelAndValue ( string label, int value ) : System
label string
value int
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string