org.omnaest.utils.structure.element.converter
Interface ElementBidirectionalConverter<FROM,TO>

Type Parameters:
FROM -
TO -
All Superinterfaces:
ElementConverter<FROM,TO>
All Known Subinterfaces:
ElementBidirectionalConverterSerializable<FROM,TO>
All Known Implementing Classes:
ElementBidirectionalConverterSetToUnmodifiableSet, ElementBidirectionalConverterWeakReference, ElementConverterIdentitiyCast, ElementConverterIdentity, ElementConverterIdentityCast, ElementConverterToBidirectionalConverterAdapter

public interface ElementBidirectionalConverter<FROM,TO>
extends ElementConverter<FROM,TO>

ElementConverter which additonally specify a convertBackwards(Object) method, so that a two way conversion is possible

Author:
Omnaest
See Also:
ElementConverter, ElementConverterToBidirectionalConverterAdapter

Method Summary
 FROM convertBackwards(TO element)
          Converts an element in backwards way
 
Methods inherited from interface org.omnaest.utils.structure.element.converter.ElementConverter
convert
 

Method Detail

convertBackwards

FROM convertBackwards(TO element)
Converts an element in backwards way

Parameters:
element -
Returns:


Copyright © 2013. All Rights Reserved.