public interface PairAdapter<SRC,DEST>
Modifier and Type | Method and Description |
---|---|
DEST |
adaptDestination(Object object)
return object instanceof DEST ? (DEST) object : null
|
SRC |
adaptSource(Object object)
return object instanceof SRC ? (SRC) object : null
|
List<?> |
getChildren(Object object)
return object.getChildren() if appropriate.
|
DEST |
getDestination(SRC src)
return src.getDestination() or corresponding.
|
SRC |
getSource(DEST dest)
return dest.getSource() or corresponding.
|
Copyright © 2019. All rights reserved.