|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.outrigger.OutriggerServerImpl.AllReps
private class OutriggerServerImpl.AllReps
An iterator that returns all the reps in the space that are of
at least the given class. It works through the contents of each
EntryHolder
in turn, exhausting each holder's enumerated
contents.
EntryHolder.contents
Field Summary | |
---|---|
(package private) RepEnum |
curEnum
|
(package private) Stack |
toDo
|
(package private) Txn |
txn
|
Constructor Summary | |
---|---|
OutriggerServerImpl.AllReps(String classFor,
Txn txn)
Create a new AllReps object for the given class. |
Method Summary | |
---|---|
private RepEnum |
enumFor(String classFor)
Return the RepEnum for the given class. |
EntryRep |
nextRep()
Return the next EntryRep object, or null
if there is none. |
private void |
setup(String classFor)
Set up the enumerator for the given class, adding any of its subclasses to the toDo stack. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
RepEnum curEnum
Stack toDo
Txn txn
Constructor Detail |
---|
OutriggerServerImpl.AllReps(String classFor, Txn txn)
AllReps
object for the given class.
Method Detail |
---|
private void setup(String classFor)
toDo
stack. Only direct subclasses
are added -- the rest will be picked up when the subclasses are
set up.
private RepEnum enumFor(String classFor)
RepEnum
for the given class.
public EntryRep nextRep()
RepEnum
EntryRep
object, or null
if there is none. Repeated calls at the end simply continue to return
null
.
nextRep
in interface RepEnum
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |