org.wso2.carbon.registry.social.api.utils
Class EnumUtil

java.lang.Object
  extended by org.wso2.carbon.registry.social.api.utils.EnumUtil

public final class EnumUtil
extends Object

Utility class for OpenSocial enums.


Method Summary
static Set<String> getEnumStrings(Enum<?>... vals)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEnumStrings

public static Set<String> getEnumStrings(Enum<?>... vals)
Parameters:
vals - array of enums
Returns:
a set of the names for a list of Enum values defined by toString


Copyright © 2013 WSO2 Inc. All Rights Reserved.