Signed-off-by: lifansheng <lifansheng1@huawei.com>

On branch master
 Your branch is up to date with 'origin/master'.
This commit is contained in:
lifansheng
2021-10-27 15:45:39 +08:00
parent ac2d630348
commit f6b6986464
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -430,12 +430,12 @@ var pro = new util.LruBuffer();
pro.put(2,10);
pro.clear();
```
36.getCreatCount()
36.getCreateCount()
```
import util from '@ohos.util'
var pro = new util.LruBuffer();
pro.put(1,8);
var result = pro.getCreatCount();
var result = pro.getCreateCount();
```
37.getMissCount()
```
+2 -2
View File
@@ -430,12 +430,12 @@ var pro = new util.LruBuffer();
pro.put(2,10);
pro.clear();
```
36.getCreatCount()
36.getCreateCount()
```
import util from '@ohos.util'
var pro = new util.LruBuffer();
pro.put(1,8);
var result = pro.getCreatCount();
var result = pro.getCreateCount();
```
37.getMissCount()
```
+1 -1
View File
@@ -507,7 +507,7 @@ class LruBuffer
this.cache.set(key, value);
return former;
}
public getCreatCount()
public getCreateCount()
{
return this.createCount;
}