1 | import { DoubleLinkListNode } from "../doublelinklist/ZKDoubleLinkListNode";
|
2 | import { IEnumerable } from "../interface/IEnumerable";
|
3 | import { IEnumerator } from "../interface/IEnumerator";
|
4 | export declare class DoubleLinkListCycle<T> implements IEnumerable<T> {
|
5 | private headNode;
|
6 | private tailNode;
|
7 | private size;
|
8 | constructor();
|
9 | readonly Size: number;
|
10 | append(node: T): this;
|
11 | prepend(node: T): this;
|
12 | private emptyList;
|
13 | shift(): DoubleLinkListNode<T>;
|
14 | pop(): DoubleLinkListNode<T>;
|
15 | deleteNode(arg: any): number[];
|
16 | findNode(arg: any): DoubleLinkListNode<T>;
|
17 | getHeadNode(): DoubleLinkListNode<T>;
|
18 | getTailNode(): DoubleLinkListNode<T>;
|
19 | isEmpty(): boolean;
|
20 | toString(): string;
|
21 | getEnumerator(): IEnumerator<T>;
|
22 | }
|
23 | export default DoubleLinkListCycle;
|