javax.realtime
Class RefList
java.lang.Object
|
+--javax.realtime.RefList
- class RefList
- extends java.lang.Object
The goal here is to make a thread list that's accessable from a NoHeapRealtimeThread that keeps
all the relevant information about the threads accessable to the scheduler.
Therefore, all memory allocations/deallocations must be made explicit.
RefCountAreas are explicitly unsafe currently - an interesting research project to make them safe.
Nested Class Summary |
(package private) class |
RefList.Elt
|
Field Summary |
(package private) RefList.Elt |
elt
|
(package private) javax.realtime.RefCountArea |
ref
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ref
final javax.realtime.RefCountArea ref
elt
RefList.Elt elt
RefList
public RefList()
add
public void add(java.lang.Object o)
add
public void add(long l)
remove
public void remove(java.lang.Object o)
remove
public void remove(long lo)
contains
public boolean contains(java.lang.Object o)
contains
public boolean contains(long lo)
isEmpty
public boolean isEmpty()
length
public long length()
iterator
public java.util.Iterator iterator()
roundIterator
public java.util.Iterator roundIterator()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object