hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: specification of type params in org.apache.hadoop.io.*Writable impls
Date Tue, 30 Mar 2010 16:51:10 GMT
Andy Schlaikjer wrote:
> Can anyone comment on why the base *Writable implementations (e.g.
> IntWritable, LongWritable, etc) don't specify WritableComparable<T>'s
> type param T?

I suspect it's just historic.  When they were first written we were not 
using Java generics, and no one has ever retrofitted them with generics.

Doug

Mime
View raw message