C# Class Pchp.Core.Utilities.ElasticBitArray

Implementation of elastic bit array. The internal array is resized automatically within the set value operation.
Afficher le fichier Open project: iolevel/peachpie Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
SetFalse ( int index ) : void
SetTrue ( int index ) : void

Method Details

ElasticBitArray() public méthode

public ElasticBitArray ( int capacity ) : System
capacity int
Résultat System

ToBitArray() public méthode

Copies to bit array to new BitArray object.
public ToBitArray ( ) : BitArray
Résultat System.Collections.BitArray

this() public méthode

Gets or sets index-th bit in the array.
public this ( int index ) : bool
index int
Résultat bool