Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Scheduler
Class jq_ThreadQueue  view jq_ThreadQueue download jq_ThreadQueue.java

java.lang.Object
  extended byScheduler.jq_ThreadQueue
Direct Known Subclasses:
jq_SynchThreadQueue

public class jq_ThreadQueue
extends java.lang.Object


Field Summary
private  jq_Thread head
           
private  jq_Thread tail
           
 
Constructor Summary
jq_ThreadQueue()
           
 
Method Summary
 jq_Thread dequeue()
           
 void enqueue(jq_Thread t)
           
 void enqueueFront(jq_Thread t)
           
 boolean isEmpty()
           
 boolean remove(jq_Thread t2)
           
 java.util.Iterator threads()
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

head

private jq_Thread head

tail

private jq_Thread tail
Constructor Detail

jq_ThreadQueue

public jq_ThreadQueue()
Method Detail

isEmpty

public boolean isEmpty()

enqueue

public void enqueue(jq_Thread t)

enqueueFront

public void enqueueFront(jq_Thread t)

dequeue

public jq_Thread dequeue()

remove

public boolean remove(jq_Thread t2)

threads

public java.util.Iterator threads()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).