public class NormalisedEventIterator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
back()
back
Move the iterator to the previous element of the underlying normalised
event instance.
|
java.lang.String |
key()
Return the key (name) associated with the current event element pointed
to by the iterator.
|
boolean |
next()
Move the iterator to the next element of the underlying normalised
event instance.
|
boolean |
valid()
Check whether the iterator points to a valid element of the normalised
event.
|
java.lang.String |
value()
Return the value associated with the current event element pointed to
by the iterator.
|
public final boolean valid()
true
if the iterator points to a valid element,
false
otherwise.public final java.lang.String key()
java.lang.ArrayIndexOutOfBoundsException
- Thrown if valid() is
false
(due to no values being present, or iteration after
the end of the available data.public final java.lang.String value()
java.lang.ArrayIndexOutOfBoundsException
- Thrown if valid() is
false
(due to no values being present, or iteration after
the end of the available data.public final boolean next()
true
) before this function is
called.
Note that the order in which elements is returned is not necessarily
the same as the order in which they were added. The order may change
as elements are added to or removed from the underlying event.true
if the iterator still points to a valid event
element after moving forwards, false
otherwise.public final boolean back()
true
) before this function is called.
Note that the order in which elements is returned is not necessarily
the same as the order in which they were added. The order may change
as elements are added to or removed from the underlying event.true
if the iterator still points to a valid event
element after moving backwards, false
otherwise.Submit a bug or feature
Copyright (c) 2013-2019 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.