edu.utah.janosvm.sys
Class ExportManager.ImportEnumerator
java.lang.Object
|
+--edu.utah.janosvm.sys.ListNode
|
+--edu.utah.janosvm.sys.ExportManager.ImportEnumerator
- Enclosing class:
- ExportManager
- public final class ExportManager.ImportEnumerator
- extends ListNode
The ImportEnumerator is used to traverse the list of importers of
an export. This is primarily useful if an export wants to do callbacks
on its imports. This object is actually inserted into the
ExportManager.importer's list and then moved along as it traverses
each Importable node.
Field Summary |
private Importable |
im
Pointer to the current Importable we're traversing. |
private TeamReservation |
tr
Pointer to a TeamReservation that refers to the owner of the current
Importable. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0 |
tr
private TeamReservation tr
- Pointer to a TeamReservation that refers to the owner of the current
Importable. Or, null if there isn't a valid Importable.
im
private Importable im
- Pointer to the current Importable we're traversing.
ExportManager.ImportEnumerator
public ExportManager.ImportEnumerator()
getReservation
public TeamReservation getReservation()
- May return null (if there isn't a valid Importable in the Enumerator).
- Returns:
- this.tr
getImportable
public Importable getImportable()
- May return null (if there isn't a valid Importable in the Enumerator).
- Returns:
- this.im
nextImport
public boolean nextImport()
- Traverse the next Importable in the list.
- Returns:
- True if the next Importable was successfully traversed,
false if its at the end of the list.
This documentation is Copyright (C) 2000-2003 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Feb 13, 2003