Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # dev >> Java Generics in Writable Classes


+
Apurv Verma 2012-08-07, 12:52
Copy link to this message
-
Re: Java Generics in Writable Classes
On Tue, Aug 7, 2012 at 5:52 AM, Apurv Verma <[EMAIL PROTECTED]> wrote:
> why was it decided to declare them as
>
> public class IntWritable implements WritableComparable
>
> and not as
>
> public class IntWritable implements WritableComparable<IntWritable>

This class was written in 2003.  Generics were added to Java in 2004.

Doug