Added comments for the visitor example.
This commit is contained in:
@ -1,5 +1,10 @@
|
||||
package com.iluwatar;
|
||||
|
||||
/**
|
||||
*
|
||||
* Visitor interface.
|
||||
*
|
||||
*/
|
||||
public interface UnitVisitor {
|
||||
|
||||
void visitSoldier(Soldier soldier);
|
||||
|
Reference in New Issue
Block a user