C# 클래스 org.apache.lucene.analysis.compound.hyphenation.CharVector

This class implements a simple char vector with access to the underlying array. This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
상속: ICloneable
파일 보기 프로젝트 열기: paulirwin/lucene.net 1 사용 예제들

공개 메소드들

메소드 설명
CharVector ( ) : System
CharVector ( char a ) : System
CharVector ( char a, int capacity ) : System
CharVector ( int capacity ) : System
alloc ( int size ) : int
capacity ( ) : int

returns current capacity of array

clear ( ) : void

Reset Vector but don't resize or clear elements

clone ( ) : CharVector
get ( int index ) : char
length ( ) : int

return number of items in array

put ( int index, char val ) : void
trimToSize ( ) : void

메소드 상세

CharVector() 공개 메소드

public CharVector ( ) : System
리턴 System

CharVector() 공개 메소드

public CharVector ( char a ) : System
a char
리턴 System

CharVector() 공개 메소드

public CharVector ( char a, int capacity ) : System
a char
capacity int
리턴 System

CharVector() 공개 메소드

public CharVector ( int capacity ) : System
capacity int
리턴 System

alloc() 공개 메소드

public alloc ( int size ) : int
size int
리턴 int

capacity() 공개 메소드

returns current capacity of array
public capacity ( ) : int
리턴 int

clear() 공개 메소드

Reset Vector but don't resize or clear elements
public clear ( ) : void
리턴 void

clone() 공개 메소드

public clone ( ) : CharVector
리턴 CharVector

get() 공개 메소드

public get ( int index ) : char
index int
리턴 char

length() 공개 메소드

return number of items in array
public length ( ) : int
리턴 int

put() 공개 메소드

public put ( int index, char val ) : void
index int
val char
리턴 void

trimToSize() 공개 메소드

public trimToSize ( ) : void
리턴 void