-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathList.js
More file actions
36 lines (30 loc) · 827 Bytes
/
Copy pathList.js
File metadata and controls
36 lines (30 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import Collection from './Collection'
/**
* @see http://download.oracle.com/javase/6/docs/api/java/util/List.html
*
* @extends {javascript.util.Collection}
* @constructor
* @private
*/
export default function List() { };
List.prototype = Object.create(Collection.prototype);
List.prototype.constructor = List
/**
* Returns the element at the specified position in this list.
* @param {number} index
* @return {Object}
*/
List.prototype.get = function() { };
/**
* Replaces the element at the specified position in this list with the
* specified element (optional operation).
* @param {number} index
* @param {Object} e
* @return {Object}
*/
List.prototype.set = function() { };
/**
* Returns true if this collection contains no elements.
* @return {boolean}
*/
List.prototype.isEmpty = function() { };