public static final class ConverterFactory.LongConverter extends Object implements BindingConverter<Long,Long>
Modifier and Type | Method and Description |
---|---|
Long |
sourceValue(Long targetValue)
Converts a
Long using the multiplier
and sets it as new value. |
Long |
targetValue(Long sourceValue)
Converts the subject's value and returns a
corresponding
Long using the multiplier. |
public Long targetValue(Long sourceValue)
Long
using the multiplier.targetValue
in interface BindingConverter<Long,Long>
sourceValue
- the value to convertpublic Long sourceValue(Long targetValue)
Long
using the multiplier
and sets it as new value.sourceValue
in interface BindingConverter<Long,Long>
targetValue
- the value to convertCopyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.