Added comments for the visitor example.
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
package com.iluwatar;
|
||||
|
||||
/**
|
||||
*
|
||||
* Interface for the nodes in hierarchy.
|
||||
*
|
||||
*/
|
||||
public abstract class Unit {
|
||||
|
||||
private Unit[] children;
|
||||
|
Reference in New Issue
Block a user