|
From: Gary P. <gpa...@gm...> - 2009-09-08 10:31:42
|
I would prefer it to be an interface, although the class is maintaining the
method:
/**
* Determine if the visitor has completed its visit operation.
* @return <code>true</code> if the visit operation is complete,
* <code>false</code> otherwise.
*/
public boolean isDone() {
return false;
}
I'm all for changing that though. Having the specific visitor maintain the
state of when it is done would be a good thing.
Regards,
Gary
On Tuesday 08 September 2009 11:53:26 Andrich van Wyk wrote:
> Hi
>
> The Visitor<E> class is currently abstract, would it not maybe make more
> sense to change it to an interface?
> Regards
>
|