站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

LoopCollection - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.common.util
Class LoopCollection

java.lang.Object
  extended byorg.jboss.portal.common.util.LoopCollection

public class LoopCollection
extends java.lang.Object


Field Summary
private  int index
           
private  java.util.List list
           
private  int size
           
 
Constructor Summary
LoopCollection(int size)
           
 
Method Summary
 java.lang.Object get(int i)
          Return elements from oldest to nexest
 int getSize()
           
 void put(java.lang.Object value)
           
 void setSize(int newSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

private java.util.List list

size

private int size

index

private int index
Constructor Detail

LoopCollection

public LoopCollection(int size)
Method Detail

put

public void put(java.lang.Object value)

setSize

public void setSize(int newSize)

getSize

public int getSize()

get

public java.lang.Object get(int i)
Return elements from oldest to nexest

Parameters:
i -
Returns: