Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29269

encapsulation problem

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject encapsulation problem
Date 2014-07-24 05:42 -0700
Organization Canadian Mind Products
Message-ID <tmv1t9t05ib0u920ul60hdnu6a2noc6q26@4ax.com> (permalink)

Show all headers | View raw


Let's say you had three enum classes with a considerable amount of
identical code. 

What are your options for encapsulation?
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Science is what we understand well enough to explain to a computer.
Art is everything else we do. 
~ Donald Ervin Knuth (born: 1938-01-10 age: 76)

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

encapsulation problem Roedy Green <see_website@mindprod.com.invalid> - 2014-07-24 05:42 -0700
  Re: encapsulation problem Leif Roar Moldskred <leifm@huldreskog.lan> - 2014-07-24 16:46 -0500
  Re: encapsulation problem Joerg Meier <joergmmeier@arcor.de> - 2014-07-25 00:31 +0200

csiph-web