All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.frameworkset.platform.config.ResourceInfoQueue Maven / Gradle / Ivy

There is a newer version: 5.6.4
Show newest version
package com.frameworkset.platform.config;

import java.util.Collections;
import java.util.LinkedList;
import java.util.List;

import com.frameworkset.platform.config.model.ResourceInfo;

/**
 * 

Title: ResourceQueue

* *

Description: 存储定义资源信息接口队列

* *

Copyright: Copyright (c) 2006

* *

Company: bbossgroups

* * @author biaoping.yin * @version 1.0 */ public class ResourceInfoQueue implements java.io.Serializable { private List list = new LinkedList(); public static void main(String[] args) { ResourceInfoQueue resourcequeue = new ResourceInfoQueue(); } public void addResourceInfo(ResourceInfo resourceInfo) { this.list.add(resourceInfo); } public ResourceInfo removeResourceInfo(ResourceInfo resourceInfo) { this.list.remove(resourceInfo); return resourceInfo; } public ResourceInfo getResourceInfo(int i) { return (ResourceInfo)list.get(i); } public List getList() { return Collections.unmodifiableList(this.list); } public int size() { return this.list.size(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy