1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { BaseException } from '../exception';
|
9 | export declare class DependencyNotFoundException extends BaseException {
|
10 | constructor();
|
11 | }
|
12 | export declare class CircularDependencyFoundException extends BaseException {
|
13 | constructor();
|
14 | }
|
15 | export declare class PartiallyOrderedSet<T> implements Set<T> {
|
16 | private _items;
|
17 | protected _checkCircularDependencies(item: T, deps: Set<T>): void;
|
18 | clear(): void;
|
19 | has(item: T): boolean;
|
20 | get size(): number;
|
21 | forEach(callbackfn: (value: T, value2: T, set: PartiallyOrderedSet<T>) => void, thisArg?: any): void;
|
22 | |
23 |
|
24 |
|
25 | entries(): IterableIterator<[T, T]>;
|
26 | |
27 |
|
28 |
|
29 | keys(): IterableIterator<T>;
|
30 | |
31 |
|
32 |
|
33 | values(): IterableIterator<T>;
|
34 | add(item: T, deps?: Set<T> | T[]): this;
|
35 | delete(item: T): boolean;
|
36 | [Symbol.iterator](): Generator<T, void, unknown>;
|
37 | get [Symbol.toStringTag](): 'Set';
|
38 | }
|