Created
November 8, 2013 03:47
-
-
Save jwoolston/7366009 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class AA { | |
//Some abstract class | |
} | |
public class A extends AA { | |
//Some concrete class | |
} | |
public abstract class AB { | |
protected List<AA> mList; | |
} | |
public class B extends AB { | |
public B() { | |
mList = new ArrayList<A>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment