Added comments for the visitor example.

This commit is contained in:
Ilkka Seppala
2014-08-31 11:35:08 +03:00
parent 2e07a685b0
commit 9a0bb6b0fe
3 changed files with 17 additions and 0 deletions

View File

@ -1,5 +1,10 @@
package com.iluwatar;
/**
*
* Visitor interface.
*
*/
public interface UnitVisitor {
void visitSoldier(Soldier soldier);