Remove @extends and @constructor annotations
This commit is contained in:
@@ -22,8 +22,7 @@ class LRUCache extends EventTarget {
|
||||
* 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.
|
||||
* @constructor
|
||||
* @extends {module:ol/events/EventTarget}
|
||||
*
|
||||
* @fires module:ol/events/Event~Event
|
||||
* @struct
|
||||
* @template T
|
||||
|
||||
@@ -11,16 +11,14 @@
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Creates an empty linked list structure.
|
||||
*
|
||||
* @constructor
|
||||
* @struct
|
||||
* @param {boolean=} opt_circular The last item is connected to the first one,
|
||||
* and the first item to the last one. Default is true.
|
||||
*/
|
||||
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.
|
||||
*/
|
||||
constructor(opt_circular) {
|
||||
|
||||
/**
|
||||
|
||||
@@ -11,23 +11,21 @@ import {clear} from '../obj.js';
|
||||
export const DROP = Infinity;
|
||||
|
||||
|
||||
/**
|
||||
* Priority queue.
|
||||
*
|
||||
* The implementation is inspired from the Closure Library's Heap class and
|
||||
* Python's heapq module.
|
||||
*
|
||||
* @see http://closure-library.googlecode.com/svn/docs/closure_goog_structs_heap.js.source.html
|
||||
* @see http://hg.python.org/cpython/file/2.7/Lib/heapq.py
|
||||
*
|
||||
* @constructor
|
||||
* @param {function(T): number} priorityFunction Priority function.
|
||||
* @param {function(T): string} keyFunction Key function.
|
||||
* @struct
|
||||
* @template T
|
||||
*/
|
||||
class PriorityQueue {
|
||||
|
||||
/**
|
||||
* Priority queue.
|
||||
*
|
||||
* The implementation is inspired from the Closure Library's Heap class and
|
||||
* Python's heapq module.
|
||||
*
|
||||
* @see http://closure-library.googlecode.com/svn/docs/closure_goog_structs_heap.js.source.html
|
||||
* @see http://hg.python.org/cpython/file/2.7/Lib/heapq.py
|
||||
*
|
||||
* @param {function(T): number} priorityFunction Priority function.
|
||||
* @param {function(T): string} keyFunction Key function.
|
||||
* @struct
|
||||
* @template T
|
||||
*/
|
||||
constructor(priorityFunction, keyFunction) {
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,17 +15,16 @@ import {isEmpty} from '../obj.js';
|
||||
* @property {Object} [value]
|
||||
*/
|
||||
|
||||
/**
|
||||
* Wrapper around the RBush by Vladimir Agafonkin.
|
||||
*
|
||||
* @constructor
|
||||
* @param {number=} opt_maxEntries Max entries.
|
||||
* @see https://github.com/mourner/rbush
|
||||
* @struct
|
||||
* @template T
|
||||
*/
|
||||
class RBush {
|
||||
|
||||
/**
|
||||
* Wrapper around the RBush by Vladimir Agafonkin.
|
||||
*
|
||||
* @param {number=} opt_maxEntries Max entries.
|
||||
* @see https://github.com/mourner/rbush
|
||||
* @struct
|
||||
* @template T
|
||||
*/
|
||||
constructor(opt_maxEntries) {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user