public interface PairAdapter<SRC, DEST>
Type Params | Return Type | Name and description |
---|---|---|
|
public DEST |
adaptDestination(java.lang.Object object) return object instanceof DEST ? |
|
public SRC |
adaptSource(java.lang.Object object) return object instanceof SRC ? |
|
public java.util.List<?> |
getChildren(java.lang.Object object) return object.getChildren() if appropriate. |
|
public DEST |
getDestination(SRC src) return src.getDestination() or corresponding. |
|
public SRC |
getSource(DEST dest) return dest.getSource() or corresponding. |
return object instanceof DEST ? (DEST) object : null
return object instanceof SRC ? (SRC) object : null
return object.getChildren() if appropriate.