VInner - - the first type.VOuter - - the second type.public abstract class AbstractConverted<VInner,VOuter>
extends java.lang.Object
| Constructor and Description |
|---|
AbstractConverted() |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.base.Function<VInner,VOuter> |
getOuterConverter()
Retrieve a function delegate that converts inner objects to outer objects.
|
protected abstract VInner |
toInner(VOuter outer)
Convert a value from the outer map to the internal inner map.
|
protected abstract VOuter |
toOuter(VInner inner)
Convert a value from the inner map to the outer visible map.
|
protected abstract VOuter toOuter(VInner inner)
inner - - the inner value.protected abstract VInner toInner(VOuter outer)
outer - - the outer value.