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

This class implements a simple byte 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.
파일 보기 프로젝트 열기: paulirwin/lucene.net 1 사용 예제들

공개 메소드들

메소드 설명
ByteVector ( ) : System
ByteVector ( int capacity ) : System
ByteVector ( sbyte a ) : System
ByteVector ( sbyte a, int capacity ) : System
alloc ( int size ) : int

This is to implement memory allocation in the array. Like malloc().

capacity ( ) : int

returns current capacity of array

get ( int index ) : sbyte
length ( ) : int

return number of items in array

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

메소드 상세

ByteVector() 공개 메소드

public ByteVector ( ) : System
리턴 System

ByteVector() 공개 메소드

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

ByteVector() 공개 메소드

public ByteVector ( sbyte a ) : System
a sbyte
리턴 System

ByteVector() 공개 메소드

public ByteVector ( sbyte a, int capacity ) : System
a sbyte
capacity int
리턴 System

alloc() 공개 메소드

This is to implement memory allocation in the array. Like malloc().
public alloc ( int size ) : int
size int
리턴 int

capacity() 공개 메소드

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

get() 공개 메소드

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

length() 공개 메소드

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

put() 공개 메소드

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

trimToSize() 공개 메소드

public trimToSize ( ) : void
리턴 void