|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractCollection<E>
AbstractList<E>
ArrayList<SSGridlet>
SSGridletList
public class SSGridletList
SSGridletList maintains a list of SSGridlet's
| Field Summary |
|---|
| Fields inherited from class AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
SSGridletList()
|
|
| Method Summary | |
|---|---|
SSGridlet |
get(int gridletId,
int userId)
Returns a given SSGridlet. |
int |
indexOf(int gridletId,
int userId)
Finds the index of a SSGridlet inside the list. |
| Methods inherited from class ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public SSGridletList()
| Method Detail |
|---|
public int indexOf(int gridletId,
int userId)
gridletId - a gridlet IduserId - an User Id
-1 if the list does not
contain this Gridlet.
public SSGridlet get(int gridletId,
int userId)
gridletId - a gridlet IduserId - an User Id
null if not found.
Id and user id is not in the list.
|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||