Skip to content

Commit

Permalink
Update bitset.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
infusion committed Nov 15, 2018
1 parent 52394c3 commit 6119f6d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions bitset.d.ts
@@ -1,7 +1,7 @@
export declare interface ReadOnlyBitSet
{
/**
* Creates the bitwise AND of two sets. The result is stored in-place.
* Creates the bitwise AND of two sets.
*
* Ex:
* bs1 = new BitSet(10);
Expand All @@ -15,7 +15,7 @@
and(other: ReadOnlyBitSet): ReadOnlyBitSet;

/**
* Creates the bitwise OR of two sets. The result is stored in-place.
* Creates the bitwise OR of two sets.
*
* Ex:
* bs1 = new BitSet(10);
Expand All @@ -29,7 +29,7 @@
or(other: ReadOnlyBitSet): ReadOnlyBitSet;

/**
* Creates the bitwise AND NOT (not confuse with NAND!) of two sets. The result is stored in-place.
* Creates the bitwise AND NOT (not confuse with NAND!) of two sets.
*
* Ex:
* bs1 = new BitSet(10);
Expand All @@ -43,7 +43,7 @@
andNot(other: ReadOnlyBitSet): ReadOnlyBitSet;

/**
* Creates the bitwise NOT of a set. The result is stored in-place.
* Creates the bitwise NOT of a set.
*
* Ex:
* bs1 = new BitSet(10);
Expand All @@ -56,7 +56,7 @@
not(other: ReadOnlyBitSet): ReadOnlyBitSet;

/**
* Creates the bitwise XOR of two sets. The result is stored in-place.
* Creates the bitwise XOR of two sets.
*
* Ex:
* bs1 = new BitSet(10);
Expand Down Expand Up @@ -117,9 +117,9 @@
/**
* Gets a list of set bits
*
* @returns {Array|number}
* @returns {Array}
*/
toArray(): Array<number> | number
toArray(): Array<number>;

/**
* Calculates the number of bits set
Expand Down Expand Up @@ -497,4 +497,4 @@ export declare class BitSet
* @returns {BitSet} this
*/
public flip(fromIndex?: number, toIndex?: number): BitSet;
}
}

0 comments on commit 6119f6d

Please sign in to comment.