|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.commons.converter.AbstractConverter<S,T>
org.databene.commons.converter.ThreadSafeConverter<java.lang.Object,java.lang.Integer>
org.databene.commons.converter.ToHashCodeConverter
public class ToHashCodeConverter
Converts an arbitrary object to a hash code using the method hashCode().
Null values are converted to zero.
Created at 06.11.2008 07:37:17
| Field Summary |
|---|
| Fields inherited from class org.databene.commons.converter.AbstractConverter |
|---|
sourceType, targetType |
| Constructor Summary | |
|---|---|
ToHashCodeConverter()
|
|
| Method Summary | |
|---|---|
java.lang.Integer |
convert(java.lang.Object sourceValue)
Concerts an object of type S to an object of type T |
| Methods inherited from class org.databene.commons.converter.ThreadSafeConverter |
|---|
clone, isParallelizable, isThreadSafe |
| Methods inherited from class org.databene.commons.converter.AbstractConverter |
|---|
getSourceType, getTargetType |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToHashCodeConverter()
| Method Detail |
|---|
public java.lang.Integer convert(java.lang.Object sourceValue)
throws ConversionException
Converter
sourceValue - the object to convert
ConversionException - if the conversion fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||