C# 클래스 zxingwp7.common.BitArray

A simple, fast array of bits, represented compactly by an array of ints internally.

파일 보기 프로젝트 열기: henningms/zxing2.0-wp7 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
bits int[]
size int

공개 메소드들

메소드 설명
BitArray ( int size ) : System
ToString ( ) : String
clear ( ) : void

Clears all bits (sets to false).

flip ( int i ) : void

Flips bit i.

getBitArray ( ) : int[]
get_Renamed ( int i ) : bool
isRange ( int start, int end, bool value_Renamed ) : bool

Efficient method to check if a range of bits is set, or not set.

reverse ( ) : void

Reverses all bits in the array.

setBulk ( int i, int newBits ) : void

Sets a block of 32 bits, starting at bit i.

set_Renamed ( int i ) : void

Sets bit i.

비공개 메소드들

메소드 설명
makeArray ( int size ) : int[]

메소드 상세

BitArray() 공개 메소드

public BitArray ( int size ) : System
size int
리턴 System

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

clear() 공개 메소드

Clears all bits (sets to false).
public clear ( ) : void
리턴 void

flip() 공개 메소드

Flips bit i.
public flip ( int i ) : void
i int bit to set ///
리턴 void

getBitArray() 공개 메소드

public getBitArray ( ) : int[]
리턴 int[]

get_Renamed() 공개 메소드

public get_Renamed ( int i ) : bool
i int bit to get ///
리턴 bool

isRange() 공개 메소드

Efficient method to check if a range of bits is set, or not set.
public isRange ( int start, int end, bool value_Renamed ) : bool
start int start of range, inclusive. ///
end int end of range, exclusive ///
value_Renamed bool
리턴 bool

reverse() 공개 메소드

Reverses all bits in the array.
public reverse ( ) : void
리턴 void

setBulk() 공개 메소드

Sets a block of 32 bits, starting at bit i.
public setBulk ( int i, int newBits ) : void
i int first bit to set ///
newBits int the new value of the next 32 bits. Note again that the least-significant bit /// corresponds to bit i, the next-least-significant to i+1, and so on. ///
리턴 void

set_Renamed() 공개 메소드

Sets bit i.
public set_Renamed ( int i ) : void
i int bit to set ///
리턴 void

프로퍼티 상세

bits 공개적으로 프로퍼티

public int[] bits
리턴 int[]

size 공개적으로 프로퍼티

public int size
리턴 int