Class CollectionUtil
java.lang.Object
org.apache.tiles.request.collection.CollectionUtil
Utilities for requests.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intenumerationSize(Enumeration<?> keys) Returns the number of elements in an enumeration, by iterating it.static StringReturns the string representation of the key.
-
Method Details
-
key
Returns the string representation of the key.- Parameters:
key- The key.- Returns:
- The string representation of the key.
- Throws:
IllegalArgumentException- If the key isnull.
-
enumerationSize
Returns the number of elements in an enumeration, by iterating it.- Parameters:
keys- The enumeration.- Returns:
- The number of elements.
-