C# 클래스 Pchp.Core.Utilities.ElasticBitArray

Implementation of elastic bit array. The internal array is resized automatically within the set value operation.
파일 보기 프로젝트 열기: iolevel/peachpie 1 사용 예제들

공개 메소드들

메소드 설명
ElasticBitArray ( int capacity ) : System
ToBitArray ( ) : BitArray

Copies to bit array to new BitArray object.

this ( int index ) : bool

Gets or sets index-th bit in the array.

비공개 메소드들

메소드 설명
SetFalse ( int index ) : void
SetTrue ( int index ) : void

메소드 상세

ElasticBitArray() 공개 메소드

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

ToBitArray() 공개 메소드

Copies to bit array to new BitArray object.
public ToBitArray ( ) : BitArray
리턴 System.Collections.BitArray

this() 공개 메소드

Gets or sets index-th bit in the array.
public this ( int index ) : bool
index int
리턴 bool