hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Java Generics in Writable Classes
Date Thu, 09 Aug 2012 21:24:35 GMT
On Tue, Aug 7, 2012 at 5:52 AM, Apurv Verma <dapurv5@gmail.com> 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

Mime
View raw message