Re: iterator.
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Thu, 29 Dec 2005 19:36:02 GMT
On Thu, 29 Dec 2005 19:18:20 GMT, "VisionSet" <spam@xxxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
>// add method
>public boolean add(Volunteer volunteer)
add methods add something. Your method does no such thing, you should
not mislead with such a name. Since it returns boolean, you might
call it
contains
canAdd
isAddable
isUndefined
flipping the sense of the boolean as necessary.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- Follow-Ups:
- Re: iterator.
- From: VisionSet
- Re: iterator.
- References:
- iterator.
- From: ste1986
- Re: iterator.
- From: VisionSet
- iterator.
- Prev by Date: Re: Constructor Conundrum
- Next by Date: Help Needed : JAVA : Accented Character Search
- Previous by thread: Re: iterator.
- Next by thread: Re: iterator.
- Index(es):
Relevant Pages
|