gistfile1.txt mport java.util.LinkedList; /** * 仓库类Storage实现缓冲区 * * */ public class Storage { // 仓库最大存储量 private final int MAX_SIZE = 100; // 仓库存储的载体 private LinkedList list = new LinkedList (); /
gistfile1.txt
mport java.util.LinkedList;
/**
* 仓库类Storage实现缓冲区
*
*
*/
public class Storage
{
// 仓库最大存储量
private final int MAX_SIZE = 100;
// 仓库存储的载体
private LinkedList