commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [lang] Why ObjectUtils.Null?
Date Fri, 15 Aug 2003 08:09:28 GMT
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
>


Mime
View raw message