public static class ResourcePool.IntResourcePool extends ResourcePool<java.lang.Integer>
ResourcePool.IntResourcePoolqueue| 构造器和说明 |
|---|
IntResourcePool(java.util.Collection<java.lang.Integer> resources) |
IntResourcePool(int capacity)
构造方法
起始为0,步长为1 |
IntResourcePool(java.lang.Integer... resources) |
IntResourcePool(int capacity,
int start,
int step) |
apply, applyChecked, close, free, isNestable, newResource, openpublic IntResourcePool(java.util.Collection<java.lang.Integer> resources)
public IntResourcePool(java.lang.Integer... resources)
public IntResourcePool(int capacity,
int start,
int step)
capacity - 数组容量start - 起始数字step - 步长java.lang.IllegalArgumentException - capacity,step<=0public IntResourcePool(int capacity)
capacity - Copyright © 2023. All Rights Reserved.