K
kk_oop
Any opinions for or against using inner classes to implement the State
pattern in Java? In particular, this would mean making the abstract
state class and its derived specific state classes all inner classes of
the context class.
Thanks for any input!
Ken
pattern in Java? In particular, this would mean making the abstract
state class and its derived specific state classes all inner classes of
the context class.
Thanks for any input!
Ken