Files
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

24 lines
544 B
TypeScript

import LinkedList from './linked-list';
export default class Queue {
linkedList: LinkedList;
constructor();
/**
* 队列是否为空
*/
isEmpty(): boolean;
/**
* 读取队列头部的元素, 不删除队列中的元素
*/
peek(): any;
/**
* 在队列的尾部新增一个元素
* @param value
*/
enqueue(value: any): void;
/**
* 删除队列中的头部元素,如果队列为空,则返回 null
*/
dequeue(): any;
toString(callback?: any): string;
}