GridSim
v4.0

gridsim
Class ResGridletList

Object
  extended byAbstractCollection
      extended byAbstractList
          extended byAbstractSequentialList
              extended byLinkedList
                  extended bygridsim.ResGridletList
All Implemented Interfaces:
Cloneable, Collection, List, Serializable

public class ResGridletList
extends LinkedList

GridSim ResGridletList maintains a linked-list of Gridlet

Since:
GridSim Toolkit 1.0
Author:
Manzur Murshed and Rajkumar Buyya
See Also:
Serialized Form
Invariant:
$none

Field Summary
 
Fields inherited from class AbstractList
modCount
 
Constructor Summary
ResGridletList()
          Allocates a new ResGridletList object
 
Method Summary
 boolean move(ResGridlet obj, ResGridletList list)
          Move a ResGridlet object from this linked-list into a specified one
 
Methods inherited from class LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, size, toArray, toArray
 
Methods inherited from class AbstractSequentialList
iterator
 
Methods inherited from class AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

ResGridletList

public ResGridletList()
Allocates a new ResGridletList object

Pre Condition:
$none
Post Condition:
$none
Method Detail

move

public boolean move(ResGridlet obj,
                    ResGridletList list)
Move a ResGridlet object from this linked-list into a specified one

Parameters:
obj - a ResGridlet object to be moved
list - a ResGridletList object to store the new ResGridlet object
Returns:
true if the moving operation successful, otherwise return false
Pre Condition:
obj != null, list != null
Post Condition:
$result == true || $result == false

GridSim
v4.0

The University of Melbourne, Australia, 2006