Re: Static class vs Normal Class when to use

2013-03-28 Thread Ted Dunning
. Thanks again. Sai -- *From:* Ted Yu yuzhih...@gmail.com *To:* user@hadoop.apache.org; Sai Sai saigr...@yahoo.in *Sent:* Thursday, 28 March 2013 9:41 AM *Subject:* Re: Static class vs Normal Class when to use Take a look at Effective Java 2nd edition: Item 22

Static class vs Normal Class when to use

2013-03-27 Thread Sai Sai
In some examples/articles sometimes they use: public static class MyMapper  and sometimes they use public class MyMapper  When/why should we use static vs normal class. Thanks Sai

Re: Static class vs Normal Class when to use

2013-03-27 Thread Ted Yu
and sometimes they use public class MyMapper When/why should we use static vs normal class. Thanks Sai

Re: Static class vs Normal Class when to use

2013-03-27 Thread Ted Yu
famous book. On Wed, Mar 27, 2013 at 9:01 PM, Sai Sai saigr...@yahoo.in wrote: In some examples/articles sometimes they use: public static class MyMapper and sometimes they use public class MyMapper When/why should we use static vs normal class. Thanks Sai