crystalspace.jbind.impl.csutil.objreg
Class csObjectRegistryIterator
java.lang.Object
crystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.csutil.objreg.csObjectRegistryIterator
- All Implemented Interfaces:
- iBase, iObjectRegistryIterator, iPointer
- public class csObjectRegistryIterator
- extends csBase
- implements iObjectRegistryIterator
- Author:
- Quentin Anciaux
|
Method Summary |
java.lang.String |
getCurrentTag()
Return the current tag. |
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
boolean |
hasNext()
Return true if there are more elements. |
protected boolean |
isNativePointerValidSafe(long pointer)
|
iBase |
next()
Proceed with next element.
|
boolean |
reset()
Restart the iterator.
|
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
csObjectRegistryIterator
public csObjectRegistryIterator(iPointer nPointer)
- Parameters:
nPointer -
getVersion
public int getVersion()
- Description copied from interface:
iBase
- Return the version of the interface
- Specified by:
getVersion in interface iBase- Specified by:
getVersion in class csBase
- See Also:
iBase.getVersion()
getName
public java.lang.String getName()
- Description copied from interface:
iBase
- Return the name of the interface
- Specified by:
getName in interface iBase- Specified by:
getName in class csBase
- See Also:
iBase.getName()
isNativePointerValidSafe
protected boolean isNativePointerValidSafe(long pointer)
- Specified by:
isNativePointerValidSafe in class csNativeObject
- See Also:
csNativeObject.isNativePointerValidSafe(long)
getCurrentTag
public java.lang.String getCurrentTag()
- Description copied from interface:
iObjectRegistryIterator
- Return the current tag.
- Specified by:
getCurrentTag in interface iObjectRegistryIterator
- Returns:
- See Also:
iObjectRegistryIterator.getCurrentTag()
hasNext
public boolean hasNext()
- Description copied from interface:
iObjectRegistryIterator
- Return true if there are more elements.
- Specified by:
hasNext in interface iObjectRegistryIterator
- Returns:
- See Also:
iObjectRegistryIterator.hasNext()
next
public iBase next()
- Description copied from interface:
iObjectRegistryIterator
- Proceed with next element.
Return the element is there is one.
- Specified by:
next in interface iObjectRegistryIterator
- Returns:
- See Also:
iObjectRegistryIterator.next()
reset
public boolean reset()
- Description copied from interface:
iObjectRegistryIterator
- Restart the iterator.
Returns false if there are no ellements in it.
- Specified by:
reset in interface iObjectRegistryIterator
- Returns:
- See Also:
iObjectRegistryIterator.reset()