| java.lang.Object uk.org.ponder.util.EnumerationConverter
EnumerationConverter | public class EnumerationConverter (Code) | | Utilities for converting Java multiple-valued types (arrays, collections,
Maps) into readable (Enumeration) and writeable (Denumeration) iterators over
their contents.
author: Antranig Basman (antranig@caret.cam.ac.uk) |
getEnumerableSize | public static int getEnumerableSize(Object o)(Code) | | |
getEnumeration | public static Enumeration getEnumeration(Object o)(Code) | | Return an enumeration of the contents of the argument o, which may itself
be already either an Enumeration or Iterator, Collection or Array type. If
a Map, return an enumeration of its values, and in the default case, return
an enumeration consisting of just the single argument.
|
isDenumerable | public static boolean isDenumerable(Class c)(Code) | | |
isEnumerable | public static boolean isEnumerable(Class c)(Code) | | |
isMappable | public static boolean isMappable(Class c)(Code) | | |
isObjectArray | public static boolean isObjectArray(Class c)(Code) | | |
|
|