当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
LoopCollection - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.common.util
Class LoopCollection
java.lang.Object
org.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
|
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 |
list
private java.util.List list
size
private int size
index
private int index
LoopCollection
public LoopCollection(int size)
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: