public class ConfigurationKey.KeyIterator extends Object implements Iterator, Cloneable
Constructor and Description |
---|
ConfigurationKey.KeyIterator() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a clone of this object.
|
String |
currentKey()
Returns the current key of the iteration (without skipping to the
next element).
|
String |
currentKey(boolean decorated)
Returns the current key of the iteration (without skipping to the
next element).
|
int |
getIndex()
Returns the index value of the current key.
|
boolean |
hasIndex()
Returns a flag if the current key has an associated index.
|
boolean |
hasNext()
Checks if there is a next element.
|
boolean |
isAttribute()
Returns a flag if the current key is an attribute.
|
Object |
next()
Returns the next object in the iteration.
|
String |
nextKey()
Returns the next key part of this configuration key.
|
String |
nextKey(boolean decorated)
Returns the next key part of this configuration key.
|
void |
remove()
Removes the current object in the iteration.
|
public String nextKey()
nextKey(false)
.public String nextKey(boolean decorated)
decorated
- a flag if the decorated key is to be returnedpublic boolean hasNext()
public Object next()
public void remove()
public String currentKey()
next()
call had returned. (Short form of currentKey(false)
.public String currentKey(boolean decorated)
decorated
- a flag if the decorated key is to be returnedpublic boolean isAttribute()
next()
.public int getIndex()
next()
.public boolean hasIndex()
next()
.Copyright © 2018 JBoss by Red Hat. All rights reserved.