@cute-dw/core
Version:
This TypeScript library is the main part of a more powerfull package designed for the fast WEB software development. The cornerstone of the library is the **DataStore** class, which might be useful when you need a full control of the data, but do not need
14 lines (13 loc) • 568 B
TypeScript
import { AbstractCollection } from "./AbstractCollection";
import { Element } from "./Collection";
import { Queue } from "./Queue";
/**
* This class provides skeletal implementations of some `Queue` operations.
*/
export declare abstract class AbstractQueue<T> extends AbstractCollection<T> implements Queue<T> {
abstract element(): Element<T> | undefined;
abstract offer(value: Element<T>): boolean;
abstract peek(): Element<T> | undefined;
abstract poll(): Element<T> | undefined;
abstract removeFirst(): Element<T> | undefined;
}