|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractQueue<E>
java.util.PriorityQueue<QueueingData>
hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.SmallestFirstScheduler.SFQueue
public static class SmallestFirstScheduler.SFQueue
A priority queue that implements the necessary list related operations used in the first fit scheduler and scheduler classes.
Field Summary | |
---|---|
private static long |
serialVersionUID
|
private static String |
UFCmessage
A message to show if the scheduler/first fit scheduler implementation would try to use previously unused List operations that were not implmeneted so far. |
Constructor Summary | |
---|---|
SmallestFirstScheduler.SFQueue()
Prepares the underlying priority queue |
Method Summary | |
---|---|
void |
add(int index,
QueueingData element)
Not supported operation |
boolean |
addAll(int index,
Collection<? extends QueueingData> c)
Not supported operation |
QueueingData |
get(int index)
only the head of the queue is allowed to be queried |
int |
indexOf(Object o)
Not supported operation |
int |
lastIndexOf(Object o)
Not supported operation |
ListIterator<QueueingData> |
listIterator()
Not supported operation |
ListIterator<QueueingData> |
listIterator(int index)
Not supported operation |
QueueingData |
remove(int index)
Only the head of the queue can be removed! |
QueueingData |
set(int index,
QueueingData element)
Not supported operation |
List<QueueingData> |
subList(int fromIndex,
int toIndex)
Not supported operation |
Methods inherited from class java.util.PriorityQueue |
---|
add, clear, comparator, contains, iterator, offer, peek, poll, remove, size, toArray, toArray |
Methods inherited from class java.util.AbstractQueue |
---|
addAll, element, remove |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, isEmpty, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Field Detail |
---|
private static String UFCmessage
private static final long serialVersionUID
Constructor Detail |
---|
public SmallestFirstScheduler.SFQueue()
Method Detail |
---|
public boolean addAll(int index, Collection<? extends QueueingData> c)
addAll
in interface List<QueueingData>
public QueueingData get(int index)
get
in interface List<QueueingData>
public QueueingData set(int index, QueueingData element)
set
in interface List<QueueingData>
public void add(int index, QueueingData element)
add
in interface List<QueueingData>
public QueueingData remove(int index)
remove
in interface List<QueueingData>
public int indexOf(Object o)
indexOf
in interface List<QueueingData>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<QueueingData>
public ListIterator<QueueingData> listIterator()
listIterator
in interface List<QueueingData>
public ListIterator<QueueingData> listIterator(int index)
listIterator
in interface List<QueueingData>
public List<QueueingData> subList(int fromIndex, int toIndex)
subList
in interface List<QueueingData>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |