Class DummyConverterForMockito
- java.lang.Object
-
- de.hybris.platform.converters.impl.DummyConverterForMockito
-
- All Implemented Interfaces:
Converter<java.util.concurrent.atomic.AtomicInteger,java.util.concurrent.atomic.AtomicInteger>,org.springframework.core.convert.converter.Converter<java.util.concurrent.atomic.AtomicInteger,java.util.concurrent.atomic.AtomicInteger>
public class DummyConverterForMockito extends java.lang.Object implements Converter<java.util.concurrent.atomic.AtomicInteger,java.util.concurrent.atomic.AtomicInteger>
-
-
Constructor Summary
Constructors Constructor Description DummyConverterForMockito()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.atomic.AtomicIntegerconvert(java.util.concurrent.atomic.AtomicInteger source)Converts the source object, creating a new instance of the destination typejava.util.concurrent.atomic.AtomicIntegerconvert(java.util.concurrent.atomic.AtomicInteger source, java.util.concurrent.atomic.AtomicInteger prototype)Convert the source object by filling the prototype-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convertAll, convertAllIgnoreExceptions, getLogger
-
-
-
-
Method Detail
-
convert
public java.util.concurrent.atomic.AtomicInteger convert(java.util.concurrent.atomic.AtomicInteger source) throws ConversionExceptionDescription copied from interface:ConverterConverts the source object, creating a new instance of the destination type- Specified by:
convertin interfaceConverter<java.util.concurrent.atomic.AtomicInteger,java.util.concurrent.atomic.AtomicInteger>- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<java.util.concurrent.atomic.AtomicInteger,java.util.concurrent.atomic.AtomicInteger>- Parameters:
source- the source object- Returns:
- the converted object
- Throws:
ConversionException- if an error occurs
-
convert
public java.util.concurrent.atomic.AtomicInteger convert(java.util.concurrent.atomic.AtomicInteger source, java.util.concurrent.atomic.AtomicInteger prototype) throws ConversionExceptionDescription copied from interface:ConverterConvert the source object by filling the prototype- Specified by:
convertin interfaceConverter<java.util.concurrent.atomic.AtomicInteger,java.util.concurrent.atomic.AtomicInteger>- Parameters:
source- the source objectprototype- the prototype to fill- Returns:
- the converted object, identical to the prototype
- Throws:
ConversionException- if an error occurs
-
-