org.opencms.xml.content
Class CmsNumberSuffixNameSequence
java.lang.Object
org.opencms.xml.content.CmsNumberSuffixNameSequence
- All Implemented Interfaces:
- Iterator<String>
public class CmsNumberSuffixNameSequence
- extends Object
- implements Iterator<String>
Name generator which appends a numeric suffix to a given base string.
- Since:
- 8.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CmsNumberSuffixNameSequence
public CmsNumberSuffixNameSequence(String str)
- Creates a new instance.
- Parameters:
str
- the base name which should be used for generating the names
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<String>
- See Also:
Iterator.hasNext()
next
public String next()
- Specified by:
next
in interface Iterator<String>
- See Also:
Iterator.next()
remove
public void remove()
- Specified by:
remove
in interface Iterator<String>
- See Also:
Iterator.remove()