@btc-vision/transaction
Version:
OPNet transaction library allows you to create and sign transactions for the OPNet network.
17 lines • 641 B
TypeScript
export declare class DeterministicSet<T> implements Disposable {
private compareFn;
private elements;
constructor(compareFn: (a: T, b: T) => number);
get size(): number;
static fromSet<T>(set: Set<T>, compareFn: (a: T, b: T) => number): DeterministicSet<T>;
add(value: T): void;
delete(value: T): boolean;
has(value: T): boolean;
clear(): void;
[Symbol.dispose](): void;
forEach(callback: (value: T, set: DeterministicSet<T>) => void): void;
values(): IterableIterator<T>;
[Symbol.iterator](): IterableIterator<T>;
private binarySearch;
}
//# sourceMappingURL=DeterministicSet.d.ts.map