Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## mapping
Class JobsQueue

    java.lang.Object
      mapping.JobsQueue

    public class JobsQueue

extends java.lang.Object

Every Job Class has its own queue in the LPAS_DG and Gcu mapping schemes. Class 1 corresponds to queue 0, class 2 corresponds to queue 1 .... class N corresponds to queue N-1. This class is an implementation of a Queue containing the jobs of one class.

Author:
  Majd Kokaly

Constructor Summary
`JobsQueue()`

Method Summary
`Job` | `dequeue()`
`Job` | `enqueue(Job job)`
`Job` | `peak()`
`void` | `print()`
`int` | `size()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### JobsQueue

    public JobsQueue()

Method Detail

### peak

    public Job peak()

### enqueue

    public Job enqueue(Job job)

### dequeue

    public Job dequeue()

### size

    public int size()

### print

    public void print()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD