commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: [lang] Why ObjectUtils.Null?
Date Fri, 15 Aug 2003 15:22:12 GMT

Shall I claim I was drunk when I asked the question? :)

Thanks,

Hen

On Fri, 15 Aug 2003, Stephen Colebourne wrote:

> Void:
>  * The Void class is an uninstantiable placeholder class to hold a
>  * reference to the Class object representing the Java keyword
>  * void.
>
> ObjectUtils.Null:
> A placeholder to represent null when null cannot be used. Usually used in
> collections (eg.Vector/Hashtable) or in caches (to represent that the search
> has been performed but returned nothing)
>
> Stephen
>
> ----- Original Message -----
> From: "Henri Yandell" <bayard@generationjava.com>
> To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
> Sent: Friday, August 15, 2003 1:15 AM
> Subject: [lang] Why ObjectUtils.Null?
>
>
> >
> > Out of interest, what service does ObjectUtils.Null have over
> > java.lang.VOID?
> >
> > Hen
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


Mime
View raw message