Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKSegmentedPartsIterator

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.DKSegmentedPartsIterator
All Implemented Interfaces:
dkIterator, DKMessageId, DKSequentialIterator, java.io.Serializable
Direct Known Subclasses:
DKSegmentedPartsIteratorOD

public class DKSegmentedPartsIterator
extends java.lang.Object
implements DKSequentialIterator, DKMessageId, java.io.Serializable

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Constructor Summary
DKSegmentedPartsIterator(java.lang.Object[] collImp, int size)
           
 
Method Summary
 java.lang.Object at()
          Gets the current element in the collection.
 boolean more()
          Returns true if there are more elements in the collection.
 java.lang.Object next()
          Advances the iterator to the next element and gets that element in the collection
 java.lang.Object previous()
          Gets the current element in the collection and repositions the iterator to the previous element.
 void reset()
          Resets the iterator to the beginning of the collection.
 boolean setToFirst()
          Sets to the first element in the collection.
 boolean setToLast()
          Sets to the last element in the collection.
 boolean setToNext()
          Sets to the next element in the collection.
 boolean setToPrevious()
          Sets to the previous element in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKSegmentedPartsIterator

public DKSegmentedPartsIterator(java.lang.Object[] collImp,
                                int size)
Method Detail

next

public java.lang.Object next()
                      throws DKUsageError
Description copied from interface: dkIterator
Advances the iterator to the next element and gets that element in the collection
Specified by:
next in interface dkIterator
Following copied from interface: com.ibm.mm.sdk.common.dkIterator
Returns:
current element.

reset

public void reset()
Description copied from interface: dkIterator
Resets the iterator to the beginning of the collection.
Specified by:
reset in interface dkIterator

more

public boolean more()
Description copied from interface: dkIterator
Returns true if there are more elements in the collection.
Specified by:
more in interface dkIterator
Following copied from interface: com.ibm.mm.sdk.common.dkIterator
Returns:
true or false.

previous

public java.lang.Object previous()
                          throws DKUsageError
Description copied from interface: DKSequentialIterator
Gets the current element in the collection and repositions the iterator to the previous element.
Specified by:
previous in interface DKSequentialIterator
Following copied from interface: com.ibm.mm.sdk.common.DKSequentialIterator
Returns:
current element.

setToFirst

public boolean setToFirst()
Description copied from interface: DKSequentialIterator
Sets to the first element in the collection.
Specified by:
setToFirst in interface DKSequentialIterator
Following copied from interface: com.ibm.mm.sdk.common.DKSequentialIterator
Returns:
true if position is valid.

setToLast

public boolean setToLast()
Description copied from interface: DKSequentialIterator
Sets to the last element in the collection.
Specified by:
setToLast in interface DKSequentialIterator
Following copied from interface: com.ibm.mm.sdk.common.DKSequentialIterator
Returns:
true if position is valid.

setToNext

public boolean setToNext()
Description copied from interface: DKSequentialIterator
Sets to the next element in the collection.
Specified by:
setToNext in interface DKSequentialIterator
Following copied from interface: com.ibm.mm.sdk.common.DKSequentialIterator
Returns:
true if position is valid.

setToPrevious

public boolean setToPrevious()
Description copied from interface: DKSequentialIterator
Sets to the previous element in the collection.
Specified by:
setToPrevious in interface DKSequentialIterator
Following copied from interface: com.ibm.mm.sdk.common.DKSequentialIterator
Returns:
true if position is valid.

at

public java.lang.Object at()
                    throws DKUsageError
Description copied from interface: DKSequentialIterator
Gets the current element in the collection.
Specified by:
at in interface DKSequentialIterator
Following copied from interface: com.ibm.mm.sdk.common.DKSequentialIterator
Returns:
current element.

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.