| java.lang.Object com.caucho.widget.WidgetUtil
WidgetUtil | public class WidgetUtil (Code) | | |
Field Summary | |
final protected static Logger | log |
Method Summary | |
public static String | calculateId(Object o, int len) Calculate an id based on the hashCode and possibly the value of toString()
of an Object, the calculated id is suitable as a java identifier. |
calculateId | public static String calculateId(Object o, int len)(Code) | | Calculate an id based on the hashCode and possibly the value of toString()
of an Object, the calculated id is suitable as a java identifier.
Parameters: len - the number of characters in the returned string, greater than8 and o.toString() is used, maximum of 24 |
|
|