wicket.util.string
Interface IStringSequence
- All Known Implementing Classes:
- AbstractStringList, StringList
public interface IStringSequence
Typesafe interface to an ordered sequence of strings. An IStringIterator can
be retrieved for the sequence by calling iterator(), the number of Strings in
the sequence can be determined by calling size() and a given String can be
retrieved by calling get(int index).
- Author:
- Jonathan Locke
get
java.lang.String get(int index)
throws java.lang.IndexOutOfBoundsException
- Gets a string at a given index in the sequence
- Parameters:
index
- The index
- Returns:
- The string at the given index
- Throws:
java.lang.IndexOutOfBoundsException
iterator
IStringIterator iterator()
- Returns:
- Typesafe string iterator
size
int size()
- Returns:
- Number of strings in this sequence
Copyright © 2004-2007 Wicket developers. All Rights Reserved.