Study tha adapter pattern this morning. Found some tutorial are not as good as I imaged. I parse my code about the adapter to demo it. Firstly, the object adapter: