@@ -90,21 +85,16 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
**Example**
```ts
letarrayList=newArrayList();
letresult=arrayList.add("a");
letresult1=arrayList.add(1);
letb=[1,2,3];
letresult2=arrayList.add(b);
letc={name:"Dylon",age:"13"};
letresult3=arrayList.add(c);
letresult4=arrayList.add(false);
try{
arrayList.add.bind({},"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -128,7 +118,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The insert method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -137,21 +127,6 @@ let arrayList = new ArrayList();
arrayList.insert("A",0);
arrayList.insert(0,1);
arrayList.insert(true,2);
try{
arrayList.insert.bind({},1,2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -189,11 +164,6 @@ let arrayList = new ArrayList();
letresult=arrayList.has("squirrel");
arrayList.add("squirrel");
letresult1=arrayList.has("squirrel");
try{
arrayList.has.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList.getIndexOf.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList.getLastIndexOf.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -317,7 +277,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The removeByIndex method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -329,21 +289,6 @@ arrayList.add(5);
arrayList.add(2);
arrayList.add(4);
letresult=arrayList.removeByIndex(2);
try{
arrayList.removeByIndex.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList.remove.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -412,7 +352,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The removeByRange method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -423,21 +363,11 @@ arrayList.add(4);
arrayList.add(5);
arrayList.add(4);
arrayList.removeByRange(2,4);
try{
arrayList.removeByRange.bind({},2,4)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList.sort.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -617,7 +528,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The subArrayList method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -630,16 +541,6 @@ arrayList.add(4);
letresult1=arrayList.subArrayList(2,4);
letresult2=arrayList.subArrayList(4,3);
letresult3=arrayList.subArrayList(2,6);
try{
arrayList.subArrayList.bind({},2,4)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList.clear.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList.clone.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList.getCapacity.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList.convertToArray.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList.isEmpty.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList.increaseCapacityTo.bind({},5)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList.trimToCurrentLength.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
arrayList[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
deque.insertFront.bind({},"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
deque.insertEnd.bind({},"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
deque.has.bind({},"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
deque.popFirst.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
deque.popLast.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
deque.getFirst.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
deque.getLast.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
deque[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -88,11 +83,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
consthashMap=newHashMap();
letresult=hashMap.isEmpty();
try{
hashMap.isEmpty.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashMap.hasKey.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashMap.hasValue.bind({},123)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashMap.get.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashMap.setAll.bind({},newHashMap)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -297,11 +267,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
lethashMap=newHashMap();
letresult=hashMap.set("squirrel",123);
try{
hashMap.set.bind({},"squirrel",123)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashMap.remove.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashMap.clear.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashMap.keys.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashMap.values.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -498,17 +443,12 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
lethashMap=newHashMap();
hashMap.set("sparrow",123);
letresult=hashMap.replace("sparrow",357);
try{
hashMap.replace.bind({},"sparrow",357)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashMap.entries.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -621,6 +549,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| 10200011 | The Symbol.iterator method cannot be bound. |
**Example**
```ts
lethashMap=newHashMap();
hashMap.set("squirrel",123);
...
...
@@ -640,9 +569,4 @@ while(temp != undefined) {
console.log("value:"+temp[1]);
temp=iter.next().value;
}
try{
hashMap[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -96,11 +91,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
consthashSet=newHashSet();
letresult=hashSet.isEmpty();
try{
hashSet.isEmpty.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashSet.has.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -180,11 +165,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
lethashSet=newHashSet();
letresult=hashSet.add("squirrel");
try{
hashSet.add.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashSet.remove.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashSet.remove.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashSet.values.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashSet.entries.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
hashSet[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -89,11 +84,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
constlightWeightMap=newLightWeightMap();
letresult=lightWeightMap.isEmpty();
try{
lightWeightMap.isEmpty.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightMap.hasAll.bind({},map)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -178,11 +163,6 @@ let result = lightWeightMap.hasKey;
lightWeightMap.hasKey("squirrel");
lightWeightMap.set("squirrel",123);
letresult1=lightWeightMap.hasKey("squirrel");
try{
lightWeightMap.hasKey.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -221,11 +201,6 @@ let lightWeightMap = new LightWeightMap();
letresult=lightWeightMap.hasValue(123);
lightWeightMap.set("squirrel",123);
letresult1=lightWeightMap.hasValue(123);
try{
lightWeightMap.hasValue.bind({},123)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -256,11 +231,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
letlightWeightMap=newLightWeightMap();
lightWeightMap.increaseCapacityTo(10);
try{
lightWeightMap.increaseCapacityTo.bind({},10)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -299,11 +269,6 @@ let lightWeightMap = new LightWeightMap();
lightWeightMap.set("squirrel",123);
lightWeightMap.set("sparrow",356);
letresult=lightWeightMap.get("sparrow");
try{
lightWeightMap.get.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightMap.getIndexOfKey.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -385,11 +345,6 @@ let lightWeightMap = new LightWeightMap();
lightWeightMap.set("squirrel",123);
lightWeightMap.set("sparrow",356);
letresult=lightWeightMap.getIndexOfValue(123);
try{
lightWeightMap.getIndexOfValue.bind({},123)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -420,7 +375,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The getKeyAt method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -429,16 +384,6 @@ let lightWeightMap = new LightWeightMap();
lightWeightMap.set("squirrel",123);
lightWeightMap.set("sparrow",356);
letresult=lightWeightMap.getKeyAt(1);
try{
lightWeightMap.getKeyAt.bind({},1)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightMap.getKeyAt(6)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightMap.setAll.bind({},map)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -513,11 +453,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
letlightWeightMap=newLightWeightMap();
letresult=lightWeightMap.set("squirrel",123);
try{
lightWeightMap.set.bind({},"squirrel",123)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -556,11 +491,6 @@ let lightWeightMap = new LightWeightMap();
lightWeightMap.set("squirrel",123);
lightWeightMap.set("sparrow",356);
lightWeightMap.remove("sparrow");
try{
lightWeightMap.remove.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -599,11 +529,6 @@ let lightWeightMap = new LightWeightMap();
lightWeightMap.set("squirrel",123);
lightWeightMap.set("sparrow",356);
letresult=lightWeightMap.removeAt(1);
try{
lightWeightMap.removeAt.bind({},1)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -635,7 +560,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The setValueAt method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -644,16 +569,6 @@ let lightWeightMap = new LightWeightMap();
lightWeightMap.set("squirrel",123);
lightWeightMap.set("sparrow",356);
lightWeightMap.setValueAt(1,3546);
try{
lightWeightMap.setValueAt.bind({},1,3546)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -684,7 +599,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The getValueAt method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -693,16 +608,6 @@ let lightWeightMap = new LightWeightMap();
lightWeightMap.set("squirrel",123);
lightWeightMap.set("sparrow",356);
letresult=lightWeightMap.getValueAt(1);
try{
lightWeightMap.getValueAt.bind({},1)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -729,11 +634,6 @@ let lightWeightMap = new LightWeightMap();
lightWeightMap.set("squirrel",123);
lightWeightMap.set("sparrow",356);
lightWeightMap.clear();
try{
lightWeightMap.clear.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightMap.keys.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightMap.values.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightMap.entries.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -941,11 +819,6 @@ let lightWeightMap = new LightWeightMap();
lightWeightMap.set("squirrel",123);
lightWeightMap.set("sparrow",356);
letiter=lightWeightMap.toString();
try{
lightWeightMap.toString.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightMap[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -91,11 +84,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
constlightWeightSet=newLightWeightSet();
letresult=lightWeightSet.isEmpty();
try{
lightWeightSet.isEmpty.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -131,11 +119,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
letlightWeightSet=newLightWeightSet();
letresult=lightWeightSet.add("squirrel");
try{
lightWeightSet.add.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightSet.addAll.bind({},set)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightSet.hasAll.bind({},set)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -258,11 +231,6 @@ let lightWeightSet = new LightWeightSet();
letresult=lightWeightSet.has(123);
lightWeightSet.add(123);
result=lightWeightSet.has(123);
try{
lightWeightSet.has.bind({},123)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightSet.equal.bind({},obj)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -331,23 +294,13 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The increaseCapacityTo method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
```ts
letlightWeightSet=newLightWeightSet();
lightWeightSet.increaseCapacityTo(10);
try{
lightWeightSet.increaseCapacityTo.bind({},10)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -386,11 +339,6 @@ let lightWeightSet = new LightWeightSet();
lightWeightSet.add("squirrel");
lightWeightSet.add("sparrow");
letresult=lightWeightSet.getIndexOf("sparrow");
try{
lightWeightSet.getIndexOf.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -429,11 +377,6 @@ let lightWeightSet = new LightWeightSet();
lightWeightSet.add("squirrel");
lightWeightSet.add("sparrow");
letresult=lightWeightSet.remove("sparrow");
try{
lightWeightSet.remove.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -472,11 +415,6 @@ let lightWeightSet = new LightWeightSet();
lightWeightSet.add("squirrel");
lightWeightSet.add("sparrow");
letresult=lightWeightSet.removeAt(1);
try{
lightWeightSet.removeAt.bind({},1)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -515,11 +453,6 @@ let lightWeightSet = new LightWeightSet();
lightWeightSet.add("squirrel");
lightWeightSet.add("sparrow");
letresult=lightWeightSet.getValueAt(1);
try{
lightWeightSet.getValueAt.bind({},1)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -546,11 +479,6 @@ let lightWeightSet = new LightWeightSet();
lightWeightSet.add("squirrel");
lightWeightSet.add("sparrow");
lightWeightSet.clear();
try{
lightWeightSet.clear.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -583,11 +511,6 @@ let lightWeightSet = new LightWeightSet();
lightWeightSet.add("squirrel");
lightWeightSet.add("sparrow");
letresult=lightWeightSet.toString();
try{
lightWeightSet.toString.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -620,11 +543,6 @@ let lightWeightSet = new LightWeightSet();
lightWeightSet.add("squirrel");
lightWeightSet.add("sparrow");
letresult=lightWeightSet.toArray();
try{
lightWeightSet.toArray.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightSet.values.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightSet.entries.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
lightWeightSet[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -103,11 +95,6 @@ let result2 = linkedList.add(b);
letc={name:"Dylon",age:"13"};
letresult3=linkedList.add(c);
letresult4=linkedList.add(false);
try{
linkedList.add.bind({},"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.addFirst.bind({},"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -172,7 +154,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The insert method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -181,16 +163,6 @@ let linkedList = new LinkedList();
linkedList.insert(0,"A");
linkedList.insert(1,0);
linkedList.insert(2,true);
try{
linkedList.insert.bind({},3,"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -228,11 +200,6 @@ let linkedList = new LinkedList();
letresult1=linkedList.has("squirrel");
linkedList.add("squirrel");
letresult=linkedList.has("squirrel");
try{
linkedList.has.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.get.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.getLastIndexOf.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.getIndexOf.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -403,7 +355,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The removeByIndex method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -415,16 +367,6 @@ linkedList.add(5);
linkedList.add(2);
linkedList.add(4);
letresult=linkedList.removeByIndex(2);
try{
linkedList.removeByIndex.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.removeFirst.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.removeLast.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.remove.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.removeFirstFound.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.removeLastFound.bind({},4)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.clone.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.clear.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -811,7 +691,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The set method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -822,16 +702,6 @@ linkedList.add(4);
linkedList.add(5);
linkedList.add(4);
letresult=linkedList.set(2,"b");
try{
linkedList.set.bind({},2,"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.convertToArray.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.getFirst.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList.getLast.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
linkedList[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.add.bind({},"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -127,7 +117,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The insert method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -136,16 +126,6 @@ let list = new List();
list.insert("A",0);
list.insert(0,1);
list.insert(true,2);
try{
list.insert.bind({},"b",3)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.has.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.get.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.getLastIndexOf.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.getIndexOf.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.equal.bind({},obj2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -409,7 +364,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The removeByIndex method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -421,16 +376,6 @@ list.add(5);
list.add(2);
list.add(4);
letresult=list.removeByIndex(2);
try{
list.removeByIndex.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.remove.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.sort.bind({},(a:number,b:number)=>b-a)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -659,7 +579,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The getSubList method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -672,16 +592,6 @@ list.add(4);
letresult=list.getSubList(2,4);
letresult1=list.getSubList(4,3);
letresult2=list.getSubList(2,6);
try{
list.getSubList.bind({},2,4)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.clear.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -744,7 +649,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The set method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -755,16 +660,6 @@ list.add(4);
list.add(5);
list.add(4);
list.set(2,"b");
try{
list.set.bind({},3,"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.convertToArray.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.isEmpty.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.getFirst.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list.getLast.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
list[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -89,11 +82,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
constplainArray=newPlainArray();
letresult=plainArray.isEmpty();
try{
plainArray.isEmpty.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -132,11 +120,6 @@ let plainArray = new PlainArray();
plainArray.has(1);
plainArray.add(1,"squirrel");
letresult1=plainArray.has(1);
try{
plainArray.has.bind({},1)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -175,11 +158,6 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
letresult=plainArray.get(1);
try{
plainArray.get.bind({},1)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -218,11 +196,6 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
letresult=plainArray.getIndexOfKey(2);
try{
plainArray.getIndexOfKey.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -261,11 +234,6 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
letresult=plainArray.getIndexOfValue("squirrel");
try{
plainArray.getIndexOfValue.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -304,11 +272,6 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
letresult=plainArray.getKeyAt(1);
try{
plainArray.getKeyAt.bind({},1)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -338,7 +301,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The getValueAt method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -347,16 +310,6 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
letresult=plainArray.getValueAt(1);
try{
plainArray.getValueAt.bind({},1)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -388,11 +341,6 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
letnewPlainArray=plainArray.clone();
try{
plainArray.clone.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -424,11 +372,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
letplainArray=newPlainArray();
plainArray.add(1,"squirrel");
try{
plainArray.add.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -467,11 +410,6 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
letresult=plainArray.remove(2);
try{
plainArray.remove.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -510,11 +448,6 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
letresult=plainArray.removeAt(1);
try{
plainArray.removeAt.bind({},1)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -546,7 +479,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The removeRangeFrom method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -555,16 +488,6 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
letresult=plainArray.removeRangeFrom(1,3);
try{
plainArray.removeRangeFrom.bind({},1,3)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -590,7 +513,7 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
| ID| Error Message|
| -------- | -------- |
| 10200011 | The setValueAt method cannot be bound. |
| 10200001 | The value of parameters are out of range. |
| 10200001 | The parameter value is out of range. |
**Example**
...
...
@@ -599,16 +522,6 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
plainArray.setValueAt(1,3546);
try{
plainArray.setValueAt.bind({},1,3546)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -641,11 +554,6 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
letresult=plainArray.toString();
try{
plainArray.toString.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -672,17 +580,12 @@ let plainArray = new PlainArray();
plainArray.add(1,"squirrel");
plainArray.add(2,"sparrow");
plainArray.clear();
try{
plainArray.clear.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
plainArray[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
queue.add.bind({},"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
queue.pop.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
queue.getFirst.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
queue[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
stack.push.bind({},"b")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
stack.pop.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
stack.peek.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
stack.locate.bind({},2)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
stack.isEmpty.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
stack[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -94,11 +89,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
consttreeMap=newTreeMap();
letresult=treeMap.isEmpty();
try{
treeMap.isEmpty.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.hasKey.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.hasValue.bind({},123)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.get.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.getFirstKey.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.getLastKey.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.setAll.bind({},map)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -377,11 +337,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
lettreeMap=newTreeMap();
treeMap.set("squirrel",123);
try{
treeMap.set.bind({},"squirrel",123)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.remove.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.getLowerKey.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.getHigherKey.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -550,11 +490,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
lettreeMap=newTreeMap();
treeMap.set("sparrow",123);
letresult=treeMap.replace("sparrow",357);
try{
treeMap.replace.bind({},"sparrow",357)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.clear.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.keys.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.values.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap.entries.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeMap[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -91,11 +86,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
consttreeSet=newTreeSet();
letresult=treeSet.isEmpty();
try{
treeSet.isEmpty.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet.has.bind({},123)();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet.getFirstValue.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet.getLastValue.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
@@ -249,11 +224,6 @@ For details about the error codes, see [containers Error Codes](../errorcodes/er
```ts
lettreeSet=newTreeSet();
letresult=treeSet.add("squirrel");
try{
treeSet.add.bind({},"squirrel")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet.remove.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet.getLowerValue.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet.getHigherValue.bind({},"sparrow")();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet.popFirst.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet.popLast.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet.clear.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet.values.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet.entries.bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.
treeSet[Symbol.iterator].bind({})();// bind() creates a new bound function that, when called, has its this keyword set to the provided value. It is used to test exception capture.