com.latencybusters.pdm
Class PDMFieldIterator

java.lang.Object
  extended by com.latencybusters.pdm.PDMFieldIterator
All Implemented Interfaces:
java.util.Iterator<PDMField>

public class PDMFieldIterator
extends java.lang.Object
implements java.util.Iterator<PDMField>

The PDMFieldIterator is used to iterate through each PDMField in a PDMMessage. Check isValueSet() before accessing its value to determine if the PDMField has been set.


Constructor Summary
protected PDMFieldIterator(java.util.HashMap<java.lang.Integer,PDMField> fieldMap)
          Internal constructor called from a PDMMessage
 
Method Summary
 boolean hasNext()
          Checks to see if there is another element
 PDMField next()
          Advances to the next element
 void remove()
          Removing an element is not supported
 void reset()
          Reset the iterator by creating a new one at the beginning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDMFieldIterator

protected PDMFieldIterator(java.util.HashMap<java.lang.Integer,PDMField> fieldMap)
Internal constructor called from a PDMMessage

Parameters:
fieldMap -
Method Detail

hasNext

public boolean hasNext()
Checks to see if there is another element

Specified by:
hasNext in interface java.util.Iterator<PDMField>

next

public PDMField next()
Advances to the next element

Specified by:
next in interface java.util.Iterator<PDMField>

remove

public void remove()
Removing an element is not supported

Specified by:
remove in interface java.util.Iterator<PDMField>

reset

public void reset()
Reset the iterator by creating a new one at the beginning



All of the documentation and software included in this and any other Informatica Inc "Ultra Messaging" Release is Copyright (C) 2004-2014, Informatica Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with 29West Inc. Copyright © 2004-2014, Informatica, Inc. All Rights Reserved.