Extract Class
You have one class doing work that should be done by two.
Create a new class and move to relevant fields and methods from the old class into the new class.![](http://www.cnblogs.com/images/cnblogs_com/nanshouyong326/90398/o_20080126(020).jpg)
You have one class doing work that should be done by two.
Create a new class and move to relevant fields and methods from the old class into the new class.