gridsim
Class MachineList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.AbstractSequentialList
                    |
                    +--java.util.LinkedList
                          |
                          +--gridsim.MachineList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable

public class MachineList
extends java.util.LinkedList

A list of machines that can become a grid resource.,

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
MachineList()
           
 
Method Summary
 int ByteSize()
           
 gridsim.Machine GetMachine(int id)
           
 gridsim.Machine GetMachineWithFreePE()
           
 int GetNoOfPEs()
           
 
Methods inherited from class java.util.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 java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

MachineList

public MachineList()
Method Detail

GetMachine

public gridsim.Machine GetMachine(int id)

GetNoOfPEs

public int GetNoOfPEs()

GetMachineWithFreePE

public gridsim.Machine GetMachineWithFreePE()
Returns:
machine object with Free PE in the MachineList

ByteSize

public int ByteSize()