Set api annotation on classdesc, not constructor
This commit is contained in:
@@ -17,6 +17,7 @@ import EventType from '../events/EventType.js';
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Implements a Least-Recently-Used cache where the keys do not conflict with
|
||||
* Object's properties (e.g. 'hasOwnProperty' is not allowed as a key). Expiring
|
||||
* items from the cache is the responsibility of the user.
|
||||
|
||||
@@ -10,12 +10,13 @@
|
||||
* @property {?} data
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Creates an empty linked list structure.
|
||||
*/
|
||||
class LinkedList {
|
||||
|
||||
/**
|
||||
* Creates an empty linked list structure.
|
||||
*
|
||||
* @param {boolean=} opt_circular The last item is connected to the first one,
|
||||
* and the first item to the last one. Default is true.
|
||||
*/
|
||||
|
||||
@@ -12,6 +12,7 @@ export const DROP = Infinity;
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Priority queue.
|
||||
*
|
||||
* The implementation is inspired from the Closure Library's Heap class and
|
||||
|
||||
@@ -16,13 +16,13 @@ import {isEmpty} from '../obj.js';
|
||||
*/
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Wrapper around the RBush by Vladimir Agafonkin.
|
||||
* See https://github.com/mourner/rbush.
|
||||
*
|
||||
* @template T
|
||||
*/
|
||||
class RBush {
|
||||
|
||||
/**
|
||||
* @param {number=} opt_maxEntries Max entries.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user