|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.request.collection.CollectionUtil
public final class CollectionUtil
Utilities for requests.
Method Summary | |
---|---|
static int |
enumerationSize(Enumeration<?> keys)
Returns the number of elements in an enumeration, by iterating it. |
static String |
key(Object key)
Returns the string representation of the key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String key(Object key)
key
- The key.
IllegalArgumentException
- If the key is null
.public static int enumerationSize(Enumeration<?> keys)
keys
- The enumeration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |